<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel>
	  <title>Ask MetaFilter questions tagged with web and php</title>
      <link>http://ask.metafilter.com/tags/web+php</link>
      <description>Questions tagged with 'web' and 'php' at Ask MetaFilter.</description>
	  <pubDate>Sun, 20 Dec 2009 12:16:59 -0800</pubDate> <lastBuildDate>Sun, 20 Dec 2009 12:16:59 -0800</lastBuildDate>

      <language>en-us</language>
	  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
	  <ttl>60</ttl>	  
	<item>
	<title>How to send phone pics to a spartan web site via Flickr?</title>
	<link>http://ask.metafilter.com/141161/How%2Dto%2Dsend%2Dphone%2Dpics%2Dto%2Da%2Dspartan%2Dweb%2Dsite%2Dvia%2DFlickr</link>	
	<description>What&apos;s a minimal self-hosted &quot;blog&quot; that hooks into Flickr&apos;s API so I can send photos from my camera directly to my web site? Ideally, I want a blog that is not a blog. I don&apos;t want tags, or articles, or categories, or spam filters, or any of that stuff. A perfect solution workflow would be this:&lt;br&gt;
&lt;br&gt;
I take a picture with my phone&lt;br&gt;
I send it to Flickr via e-mail&lt;br&gt;
Flickr then posts it to my website with no interaction&lt;br&gt;
&lt;br&gt;
The ideal layout would be a main site title, and each time I send a photo it appears as the newest one, using the title I typed. There would be maybe 10 photos on the main page. You could access earlier photos by clicking &quot;older&quot; or something like that which would serve as the archives.&lt;br&gt;
&lt;br&gt;
I can do this with wordpress, movable type, typepad, etc., but they are all way too huge feature-wise and not what I want. I can also do this with blogger or tumblr, but they are not self-hosted. I tried this recently with textpattern, but the templates and general admin are much too complicated for my needs.&lt;br&gt;
&lt;br&gt;
It should be very simple, aesthetics-wise. You could maybe change the color scheme / typography via CSS, but that&apos;s about it.&lt;br&gt;
&lt;br&gt;
Does something like this exist? For the Flickr hook-in it needs to be a MetaWeblogAPI Enabled Blog or other Flickr-approved application.&lt;br&gt;
&lt;br&gt;
Thanks for any suggestions.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.141161</guid>
	<pubDate>Sun, 20 Dec 2009 12:16:59 -0800</pubDate>
	<category>api</category>
	<category>app</category>
	<category>cms</category>
	<category>email</category>
	<category>flickr</category>
	<category>photos</category>
	<category>php</category>
	<category>web</category>
	<category>weblog</category>
	<dc:creator>ehamiter</dc:creator>
	</item>
	<item>
	<title>Learning Php in New York City</title>
	<link>http://ask.metafilter.com/140908/Learning%2DPhp%2Din%2DNew%2DYork%2DCity</link>	
	<description>I would like to learn Php &amp;amp; Web Development programming by taking courses in NYC. Any advice, suggestions?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.140908</guid>
	<pubDate>Thu, 17 Dec 2009 09:20:23 -0800</pubDate>
	<category>nyc</category>
	<category>php</category>
	<category>programming</category>
	<category>web</category>
	<dc:creator>chirico</dc:creator>
	</item>
	<item>
	<title>Turn on, tune in, log out?</title>
	<link>http://ask.metafilter.com/129677/Turn%2Don%2Dtune%2Din%2Dlog%2Dout</link>	
	<description>Webdev filter: What tools can I use to avoid developing a registration/log-in feature from scratch? I&apos;m an amateur web developer -- I took a few programming classes in college (Java), know HTML and CSS pretty well, and can get by in PHP and SQL, albeit while checking references constantly. I&apos;m trying to build what I think should be a pretty simple web application: the nuts and bolts of it are that it should allow member registration and login/out, and while the user is logged in, s/he can input numerical data, as well as view some statistical juggling of that data.&lt;br&gt;
&lt;br&gt;
The data entry bit I feel fairly confident that I can do using PHP/MySQL. I&apos;ve written a rudimentary registration and login system (with an email confirmation message, etc), but I can tell that it needs a lot more features and even though I am mostly n00b I can think of ways it could be compromised -- if at all possible I&apos;d prefer to just use code that is already written and known to be fairly stable.&lt;br&gt;
&lt;br&gt;
Is there a pre-built, standard kind of thing (I don&apos;t even know what the proper word to call it is) I can use for this? I think that Ruby on Rails could be used here, but my attempts at teaching myself how to use it have been kind of futile, and I don&apos;t really need all of the version control and other features like that. I&apos;d like to keep this really really simple, at least for now.&lt;br&gt;
&lt;br&gt;
As you can see I&apos;m not very experienced and don&apos;t really know the proper terms are, so let me know if I need to clarify anything. While I&apos;d like to learn other languages in the future, my goal is to get this thing up and running so I&apos;d prefer advice that presupposes PHP use as opposed to telling me to go learn Python (though I guess I understand if that&apos;s the only option). Thanks.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.129677</guid>
	<pubDate>Sun, 09 Aug 2009 12:27:55 -0800</pubDate>
	<category>development</category>
	<category>html</category>
	<category>login</category>
	<category>mysql</category>
	<category>php</category>
	<category>registration</category>
	<category>resolved</category>
	<category>web</category>
	<dc:creator>telegraph</dc:creator>
	</item>
	<item>
	<title>into a black hole</title>
	<link>http://ask.metafilter.com/129243/into%2Da%2Dblack%2Dhole</link>	
	<description>Any &lt;a href=&quot;http://www.cloudynights.com/ubbthreads/index.php&quot;&gt;Cloudy Nights&lt;/a&gt; folks on MeFi? I am googling around in getting going with backyard astronomy and Cloudy Nights appears to be (or to have been) a decent resource, but it has been nothing but failed MySQL connections and php pathing errors since I started digging. Any info? Is it dead, Bones? I did find this older AskMe which includes a bunch of good info, btw.&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://ask.metafilter.com/13386/quality-astronomytelscope-websites&quot;&gt;http://ask.metafilter.com/13386/quality-astronomytelscope-websites&lt;/a&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.129243</guid>
	<pubDate>Tue, 04 Aug 2009 11:17:14 -0800</pubDate>
	<category>astronomy</category>
	<category>mysql</category>
	<category>php</category>
	<category>sites</category>
	<category>telescopes</category>
	<category>web</category>
	<dc:creator>mwhybark</dc:creator>
	</item>
	<item>
	<title>Webhost changes security settings on server and breaks Joomla</title>
	<link>http://ask.metafilter.com/127708/Webhost%2Dchanges%2Dsecurity%2Dsettings%2Don%2Dserver%2Dand%2Dbreaks%2DJoomla</link>	
	<description>A webhost my company uses just changed the security settings and now Joomla no longer works correctly. Are these new security settings industry standard and what should I do? &lt;a href=&quot;http://nomonthlyfees.com/security-standard-server-settings.html&quot;&gt;You can see the security settings here &lt;/a&gt; and the real problem seems to be that php ini.set is disabled, which Joomla needs. I don&apos;t know enough about security and coding to know what to do here. My options are to switch to a low security server, &lt;a href=&quot;http://nomonthlyfees.com/security-low-server-settings.html&quot;&gt;described here&lt;/a&gt;,  try to reconfigure Joomla somehow, switch to a new CMS package or switch to a new web host. &lt;br&gt;
&lt;br&gt;
I guess I need to understand what web hosts usually do with Joomla. &lt;br&gt;
&lt;br&gt;
Also, my current webhost is nomonthlyfees.com which has had pretty poor tech support lately.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.127708</guid>
	<pubDate>Fri, 17 Jul 2009 11:27:08 -0800</pubDate>
	<category>host</category>
	<category>joomla</category>
	<category>nomonthlyfees</category>
	<category>php</category>
	<category>security</category>
	<category>web</category>
	<dc:creator>clockworkjoe</dc:creator>
	</item>
	<item>
	<title>Which  forums do the best web programmers hang out at?</title>
	<link>http://ask.metafilter.com/125912/Which%2Dforums%2Ddo%2Dthe%2Dbest%2Dweb%2Dprogrammers%2Dhang%2Dout%2Dat</link>	
	<description>Which  forums do the best web programmers hang out at? Long story short:  I&apos;ve got a web site that already does over 1 million pageviews per month.  I&apos;ve got a great idea to take it to the next level, but I&apos;m looking for someone who can handle the coding and technical aspects in exchange for an equity stake. &lt;br&gt;
&lt;br&gt;
I&apos;m wanting to bring aboard a great programmer who doesn&apos;t necessarily need the work but will be motivated by the equity.  &lt;br&gt;
&lt;br&gt;
Which forums would you recommend I post on to find this person? &lt;br&gt;
&lt;br&gt;
Also, if there&apos;s anyone interested here, let me know.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.125912</guid>
	<pubDate>Fri, 26 Jun 2009 16:15:45 -0800</pubDate>
	<category>ajax</category>
	<category>coding</category>
	<category>development</category>
	<category>mysql</category>
	<category>on</category>
	<category>php</category>
	<category>programming</category>
	<category>rails</category>
	<category>ruby</category>
	<category>scripting</category>
	<category>sites</category>
	<category>software</category>
	<category>web</category>
	<dc:creator>jackson5</dc:creator>
	</item>
	<item>
	<title>How do I set up an e-commerce site that accepts photo uploads and takes credit card payments?</title>
	<link>http://ask.metafilter.com/125714/How%2Ddo%2DI%2Dset%2Dup%2Dan%2Decommerce%2Dsite%2Dthat%2Daccepts%2Dphoto%2Duploads%2Dand%2Dtakes%2Dcredit%2Dcard%2Dpayments</link>	
	<description>How do I set up an e-commerce site that accepts photo uploads and takes credit card payments? I&apos;ve been asked to set up a website for a client who wants to custom-print an item using photos uploaded by customers. They need to accept credit card payments.&lt;br&gt;
&lt;br&gt;
As one option, I am considering setting up a custom front-end for &lt;a href=&quot;http://www.shopify.com/&quot;&gt;Shopify&lt;/a&gt;, but I&apos;m not sure whether that&apos;s overkill, or whether they can accept an uploaded picture sent as part of the order information.&lt;br&gt;
&lt;br&gt;
What&apos;s the simplest/best way to do this? My PHP/Javascript skills are rather rudimentary, but I&apos;d like to learn more. Should I try to do something from scratch, or are there good solutions out there already?&lt;br&gt;
&lt;br&gt;
It seems like there would be a few parts to doing this manually:&lt;ol&gt;&lt;br&gt;
&lt;li&gt;Getting the customer&apos;s order info from a form (I can handle the HTML for this)&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Getting the customer&apos;s photo, making sure it&apos;s within specs, and displaying a reduced preview (I don&apos;t know the best way to do this&#8230; I assume there a image processing libraries available or something)&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Processing a credit card payment (I don&apos;t know the best way to do this)&lt;/li&gt;&lt;br&gt;
&lt;li&gt;Doing something with that order data (could it be emailed to the client, or is that too insecure? would I need to set up a front end for the client to access orders stored in a database?)&lt;/li&gt;&lt;/ol&gt;Hope me, Metafilter! You&apos;re my only help.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.125714</guid>
	<pubDate>Wed, 24 Jun 2009 11:42:48 -0800</pubDate>
	<category>creditcard</category>
	<category>design</category>
	<category>ecommerce</category>
	<category>order</category>
	<category>photo</category>
	<category>php</category>
	<category>storefront</category>
	<category>upload</category>
	<category>web</category>
	<dc:creator>designbot</dc:creator>
	</item>
	<item>
	<title>What programming language should I use for a Digg-like web site?</title>
	<link>http://ask.metafilter.com/124856/What%2Dprogramming%2Dlanguage%2Dshould%2DI%2Duse%2Dfor%2Da%2DDigglike%2Dweb%2Dsite</link>	
	<description>What programming language should I use for a Digg-like web site? I&apos;m no web developer, but I already have a high traffic picture gallery which I want to turn into a digg-like picture voting site. &lt;br&gt;
&lt;br&gt;
I&apos;m going to hire a developer and would like your recommendations on which programming language I should target for the site?&lt;br&gt;
&lt;br&gt;
My site currently does about 2 million pageviews per month already, so I expect the traffic to go up.  The programming language should easily handle a lot of traffic on 1 dedicated server.  &lt;br&gt;
&lt;br&gt;
I keep hearing a lot about Ruby on Rails.  I&apos;m familiar with PHP/MySQL, but not sure if that is the best programming language for this project.&lt;br&gt;
&lt;br&gt;
I also keep hearing a lot about cloud hosting.  This sounds like a good option as well.  &lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Basically, to sum up my question:  I want to post a &quot;programmer wanted&quot; ad for this project.  What should I be looking for from a developer?&lt;/strong&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.124856</guid>
	<pubDate>Mon, 15 Jun 2009 11:37:41 -0800</pubDate>
	<category>computers</category>
	<category>development</category>
	<category>hosting</category>
	<category>mysql</category>
	<category>php</category>
	<category>programming</category>
	<category>ruby</category>
	<category>web</category>
	<dc:creator>jackson5</dc:creator>
	</item>
	<item>
	<title>Help me be awesome in PHP/MySQL and make some user groups</title>
	<link>http://ask.metafilter.com/121029/Help%2Dme%2Dbe%2Dawesome%2Din%2DPHPMySQL%2Dand%2Dmake%2Dsome%2Duser%2Dgroups</link>	
	<description>Building a comment system, and looking for good introduction to managing groups and users with PHP/MySQL, or a prerolled &quot;user management system&quot;. Ultimately, I need to setup a system for people to register as users, join (or be assigned to) groups, make comments (that are linked to their accounts), and filter comments by criteria (e.g., only show comments by other people in the same group). But, presumably, the &quot;user&quot; stuff would be separate from the &quot;comment&quot; stuff? So...broadly speaking, I need to create users and groups, and then track what every user does. &lt;br&gt;
&lt;br&gt;
I found PHP User Class (http://phpuserclass.com/), PHP Users (http://www.majordojo.com/php-users/), and a short Sitepoint article (http://www.sitepoint.com/article/users-php-sessions-mysql/) after some quick Google searching. Anyone have any experience with either of those scripts, or know of any others? Or, know good resources to help me brew my own?&lt;br&gt;
&lt;br&gt;
(As for why I am not just using Wordpress or Drupal or etc.,etc.etc.:)&lt;br&gt;
I am working on a site involving a huge repository of text files and the ability to comment on those files. (1) the text files already exist as individual files (versus existing in a database somewhere), and (2) comments need to be on a per-line basis (versus the file as a whole, which is how CMS&apos;s usually work). Of course, if, with this vague description, you know of something that might be useful, let me know.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2009:site.121029</guid>
	<pubDate>Fri, 01 May 2009 14:17:42 -0800</pubDate>
	<category>MySQL</category>
	<category>PHP</category>
	<category>Programming</category>
	<category>Web</category>
	<dc:creator>isnotchicago</dc:creator>
	</item>
	<item>
	<title>Hiring a PHP programmer for a startup web design company, how much should I pay them?</title>
	<link>http://ask.metafilter.com/110186/Hiring%2Da%2DPHP%2Dprogrammer%2Dfor%2Da%2Dstartup%2Dweb%2Ddesign%2Dcompany%2Dhow%2Dmuch%2Dshould%2DI%2Dpay%2Dthem</link>	
	<description>Hiring a PHP programmer for a startup web design company, how much should I pay them? I&apos;m looking to bring on one or more part-time PHP programmers who will also be doing some work with Flash and video encoding.  My applicant pool is primarily college students with 2-4 years experience.  As I budget for expenses and look to set prices, I have been unable to find solid numbers on the Internet for what type of wage this work merits.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.110186</guid>
	<pubDate>Sun, 28 Dec 2008 16:30:42 -0800</pubDate>
	<category>design</category>
	<category>php</category>
	<category>programming</category>
	<category>web</category>
	<dc:creator>dcams</dc:creator>
	</item>
	<item>
	<title>Yet Another File Manager Question</title>
	<link>http://ask.metafilter.com/108257/Yet%2DAnother%2DFile%2DManager%2DQuestion</link>	
	<description>Help me find an online file manager that doesn&apos;t suck!  Everything I&apos;ve found so far falls into two categories, either (a) sucking, a lot, or (b) requiring, for inexplicable reasons, a database backend.  I just want something that will handle file uploads and basic file management (move, rename, delete, copy). The solution should &lt;b&gt;not&lt;/b&gt; try to provide any form of authentication.  This is what my web server is for!  Bonus points if it has (a) actually been touched in the past few years, (b) makes good use of CSS and (c) does a good job of separating logic and presentation in the code, because this makes my life much easier if I need to change something.  I am reasonably language neutral -- in no particular order, Python, Perl, and PHP are preferable, because those are already installed on the target system and I&apos;d like to avoid introducing any additional requirements.&lt;br&gt;
&lt;br&gt;
I am trying to avoid getting a number of non-technical people to install WinSCP, since, among other things, this means I wouldn&apos;t be able to take advantage of our web single sign-on infrastructure.  I would also like to provide people access that does not first require software installation.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.108257</guid>
	<pubDate>Tue, 02 Dec 2008 17:07:36 -0800</pubDate>
	<category>file</category>
	<category>management</category>
	<category>perl</category>
	<category>php</category>
	<category>python</category>
	<category>web</category>
	<dc:creator>larsks</dc:creator>
	</item>
	<item>
	<title>Make my urls purty!</title>
	<link>http://ask.metafilter.com/107726/Make%2Dmy%2Durls%2Dpurty</link>	
	<description>What&apos;s the best way for me to create human-readable urls for a Wordpress site? So I&apos;ve taken a job converting a very static site to one that will use Wordpress as a CMS. A couple of key points up front:&lt;br&gt;
&lt;br&gt;
1) We are 100% committed to using Wordpress. Thanks for respecting this.&lt;br&gt;
2) I will NOT be making use of any wordpress theme or allowing users to go to any Wordpress pages at all. We are using it as a CMS on the backend, and on the frontend I will write custom php pages and queries to display what i want to display.&lt;br&gt;
&lt;br&gt;
The site as it stands now has 1000s of articles in totally flat html pages. We want to get away from that for obvious reasons. My inclination is to create one page to use over and over again, so where the old url would&apos;ve been like:&lt;br&gt;
&lt;br&gt;
www.thesite.net/article_name.html&lt;br&gt;
&lt;br&gt;
the new url would look like:&lt;br&gt;
&lt;br&gt;
www.thesite.net/article.php?id=124&lt;br&gt;
&lt;br&gt;
two issues with this:&lt;br&gt;
1) the site is quite popular, so a lot of people have probably bookmarked old articles and I dont want those links to die when we remove all the flat html pages.&lt;br&gt;
&lt;br&gt;
2) I would prefer people to see human-readable urls rather than ugly querystrings. &lt;br&gt;
&lt;br&gt;
My first instinct would be to create a big redirect file (301), sending every old article url to the new format. This addresses point one but not point two, since after the redirect the user would still see the ugly url, right? (if not, please enlighten me!)&lt;br&gt;
&lt;br&gt;
My other thought is to use the &quot;ugly&quot; article.php as an include inside a wrapper, so create &quot;article_name.php&quot; which contains nothing but a variable for the article id and a copy of the include which takes in that variable. problems with this are a) we still clutter up our server with 1000s of files, and b) I have non-tech people messing with code and ftp, which i&apos;d rather not.&lt;br&gt;
&lt;br&gt;
So, what is the solution? How does mefi get those awesome clean urls like &quot;http://ask.metafilter.com/107722/Batch-Adding-Text-File-Name-to-JPEG-Images&quot;?&lt;br&gt;
&lt;br&gt;
I&apos;m guessing &quot;107722&quot; and &quot;Batch-Adding-Text-File-Name-to-JPEG-Images&quot; are some sort of aliases and not literal folders on the server. Is this something automated that is beyond the power of Wordpress? I hope not.&lt;br&gt;
&lt;br&gt;
thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.107726</guid>
	<pubDate>Tue, 25 Nov 2008 16:01:08 -0800</pubDate>
	<category>cms</category>
	<category>development</category>
	<category>human</category>
	<category>php</category>
	<category>press</category>
	<category>readable</category>
	<category>redirect</category>
	<category>resolved</category>
	<category>url</category>
	<category>urls</category>
	<category>web</category>
	<category>word</category>
	<category>wordpress</category>
	<dc:creator>drjimmy11</dc:creator>
	</item>
	<item>
	<title>How can I study the server load/impact impact of my PHP scripts in a shared hosting environment?  </title>
	<link>http://ask.metafilter.com/104110/How%2Dcan%2DI%2Dstudy%2Dthe%2Dserver%2Dloadimpact%2Dimpact%2Dof%2Dmy%2DPHP%2Dscripts%2Din%2Da%2Dshared%2Dhosting%2Denvironment</link>	
	<description>How can I study the server load/impact of my PHP scripts in a shared hosting environment?  The hosting company isn&apos;t very helpful.  I want to be proactive and not wait for a call  that my scripts are causing trouble.  Also want a website that isn&apos;t slow and unresponsive.  The server is Apache2 w/PHP5&lt;br&gt;
&lt;br&gt;
I&apos;d like to learn in general terms about it but the specific case I have is as follows:&lt;br&gt;
&lt;br&gt;
I&apos;m building a website that does a lot of thumbnailing using phpthumb().  I send an AJAX request to the server to generate thumbnails and return a list of SRC tags.  This puts a certain load to the server.  phpthumb() caches the thumbnail so the load happens only once&lt;br&gt;
&lt;br&gt;
I want to also have PHP  look up and return the dimensions of the original image using getImageSize.  This is additional load and caching wouldn&apos;t happen.  If I do the lookup 100 times/second would it overwhelm  the server?  &lt;br&gt;
&lt;br&gt;
Is it something I should be concerned about?  I have no idea about how my scripts might affect the server.  The site gets about 15k hits per day and is growing.&lt;br&gt;
&lt;br&gt;
Thanks</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.104110</guid>
	<pubDate>Mon, 13 Oct 2008 09:35:39 -0800</pubDate>
	<category>development</category>
	<category>PHP</category>
	<category>server</category>
	<category>web</category>
	<dc:creator>jorlando</dc:creator>
	</item>
	<item>
	<title>CSS, JQuery, PHP and Caching: Best practices?</title>
	<link>http://ask.metafilter.com/99664/CSS%2DJQuery%2DPHP%2Dand%2DCaching%2DBest%2Dpractices</link>	
	<description>CSS, JQuery, PHP and Caching: What are the best practices for creating dynamic CSS with JQuery and PHP? Examples inside. I&apos;m using PHP to dynamically create links and their associated CSS. I&apos;m doing it dynamically because the number and positioning of these links is dependent on the selected month.&lt;br&gt;
&lt;br&gt;
PHP inserts these CSS declarations into the HEAD tag. This seems to work fine on Firefox, but IE apparently caches the HEAD tag. This is a problem when navigating to pages for other months since the number of days will change.&lt;br&gt;
&lt;br&gt;
Since I&apos;m also using JQuery for the first time in this project, I wonder if I wouldn&apos;t be better off setting the CSS with that, rather than with PHP. The problem with this would be that I&apos;m now mixing math and functions between the PHP sections of the site and the javascript sections. Is there a better way?&lt;br&gt;
&lt;br&gt;
An example can be &lt;a href=&quot;http://simplykiwi.com/charts/&quot;&gt;seen here.&lt;/a&gt; Source code for the same is &lt;a href=&quot;http://simplykiwi.com/charts/index.phps&quot;&gt;available here.&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
The hover links over each day in each graph are created with a PHP loop based on the number of days in the month. The CSS to position them properly above each day is also created with a PHP loop.&lt;br&gt;
&lt;br&gt;
The problem arises if a user selects an old month with a different number of days. Since IE caches the head tag the user only sees 20 day hover links, rather than 30 or 31.&lt;br&gt;
&lt;br&gt;
Online documentation, tutorials or book references are very much welcome. Also, if I&apos;m just completely going in the wrong direction please let me know.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.99664</guid>
	<pubDate>Wed, 20 Aug 2008 09:29:50 -0800</pubDate>
	<category>ajax</category>
	<category>browser</category>
	<category>css</category>
	<category>dom</category>
	<category>html</category>
	<category>javascript</category>
	<category>jquery</category>
	<category>php</category>
	<category>web</category>
	<category>webdev</category>
	<dc:creator>odinsdream</dc:creator>
	</item>
	<item>
	<title>Live AIS data is a web browser</title>
	<link>http://ask.metafilter.com/98913/Live%2DAIS%2Ddata%2Dis%2Da%2Dweb%2Dbrowser</link>	
	<description>Hi,
Another oddball question... I have a live data stream of AIS data and I would like to take the data and ultimately display it on a world map through a web browser. The problem is that I have no clue as to how I would display live updated information on a map. 
I would like the map to update as the stream of data is coming in. This might be an ambitious project for someone who is weak on web programming, but i figured it would be worth looking into.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.98913</guid>
	<pubDate>Mon, 11 Aug 2008 10:55:58 -0800</pubDate>
	<category>AIS</category>
	<category>Computer</category>
	<category>Maritime</category>
	<category>perl</category>
	<category>php</category>
	<category>programming</category>
	<category>web</category>
	<dc:creator>kaozity</dc:creator>
	</item>
	<item>
	<title>Drupal: How to automatically group users?</title>
	<link>http://ask.metafilter.com/98307/Drupal%2DHow%2Dto%2Dautomatically%2Dgroup%2Dusers</link>	
	<description>Drupal: How do I automatically assign users into groups when they register? Is this something I can do with Organic Groups? Profile tags? A different module? Background: I&apos;m using Drupal to build an online course in which each student is assigned an instructor. I want to assign each student an instructor automatically and I want it done so that each instructor has roughly the same number of students (that is, not randomly). The instructor needs an easy way to read comments made only by his students. Is this something I can do with the Organic Groups module? Something I can do with Views? Something I can do with profile tags?&lt;br&gt;
&lt;br&gt;
Google-fu for modules has failed me and nothing&apos;s happening in my question on Drupal&apos;s forums. Come to the rescue, AskMe!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.98307</guid>
	<pubDate>Mon, 04 Aug 2008 15:36:20 -0800</pubDate>
	<category>cms</category>
	<category>drupal</category>
	<category>php</category>
	<category>resolved</category>
	<category>users</category>
	<category>web</category>
	<dc:creator>l33tpolicywonk</dc:creator>
	</item>
	<item>
	<title>Spiffy PHP file upload script?</title>
	<link>http://ask.metafilter.com/98087/Spiffy%2DPHP%2Dfile%2Dupload%2Dscript</link>	
	<description>I&apos;m in need of a spiffy PHP file upload script.  For great justice. The print shop I work at is in the process of moving away from our current (dinky, suffocatingly restrictive) web host.  I was charged with the task of finding a new host, creating a new site design, getting everything transferred, etc.  I&apos;m still &lt;em&gt;in media res&lt;/em&gt; but things are moving pretty smoothly.&lt;br&gt;
&lt;br&gt;
One of the most important parts of our old site was our file transfer system that allowed customers to upload their art to us.  The old script was garbage and I&apos;d very much like to offer our customers something nicer.  I could &lt;em&gt;probably&lt;/em&gt; call upon my fading PHP-fu to cobble something together, but before I resort to that I thought I&apos;d ask the Hive Mind if it knew of (or better yet) had any experience with a PHP-based file upload script that would satisfy me needs.  Here&apos;s what I had in mind:&lt;br&gt;
&lt;br&gt;
- It&apos;s gotta be account-based, not just a pool of files.  I&apos;d prefer it if people could sign up for an account themselves, but it&apos;s fine if it can only be done by an administrator.&lt;br&gt;
- On that subject, a decent user and administration control panel.&lt;br&gt;
- It&apos;d be nice if it used AJAX to refresh the FTP connection to the site while the file uploads.  Our old file uploader had a nasty habit of timing out in the middle of customers sending huge files, which is (needless to say) pretty bad.  Also, some kind of progress bar (possibly with &quot;time remaining&quot;) would be a huge plus for our more impatient customers.&lt;br&gt;
- Multiple file upload inputs on one page would be awesome.&lt;br&gt;
- Email notifications of some kind would also be awesome.&lt;br&gt;
- Our ultimate goal is to make the file uploader part of a group of services that we offer our customers online, so it would be highly beneficial if the script was made in such a way that it could easily (and legally) be extended upon.&lt;br&gt;
- Free would be nice, but we&apos;d have no problem paying for a quality product.&lt;br&gt;
&lt;br&gt;
I know that it&apos;s easy to just sit on my butt and make a wish list of features that I want for this thing, but maybe you&apos;ve come across something that comes close to matching what I need.  I&apos;m aware that there&apos;s a lot of services similar to what I need that host the data on their servers, but I really need this to be self-contained on my companies website (however, if you&apos;ve had positive experiences with one of the aforementioned services please share that too).  Thanks in advance.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.98087</guid>
	<pubDate>Fri, 01 Aug 2008 11:21:19 -0800</pubDate>
	<category>design</category>
	<category>file</category>
	<category>PHP</category>
	<category>site</category>
	<category>upload</category>
	<category>uploader</category>
	<category>web</category>
	<category>website</category>
	<dc:creator>kryptondog</dc:creator>
	</item>
	<item>
	<title>CodeFilter: </title>
	<link>http://ask.metafilter.com/97444/CodeFilter</link>	
	<description>CodeFilter: I am looking for online classes mainly in the area of web programming (PHP, MySQL, AJAX, etc.). I need to brush up on my self taught skills.  I am looking for something on the level of an actual coures, with assignments, deadlines, etc. (I don&apos;t necessarily like those things, but find I learn much better that way than self-paced from a book). Free or paid service is fine - I am mainly concerned with quality. I sort of like the courses and organization offered by eclasses.org, but I have no idea if they are good and credible? Any recommendations would be very much appreciated</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.97444</guid>
	<pubDate>Thu, 24 Jul 2008 15:09:41 -0800</pubDate>
	<category>Classes</category>
	<category>MySQL</category>
	<category>Online</category>
	<category>PHP</category>
	<category>Programming</category>
	<category>Web</category>
	<dc:creator>kjl291</dc:creator>
	</item>
	<item>
	<title>Run multiple php websites from a single server?</title>
	<link>http://ask.metafilter.com/96749/Run%2Dmultiple%2Dphp%2Dwebsites%2Dfrom%2Da%2Dsingle%2Dserver</link>	
	<description>How practical is it to run multiple php websites on multiple servers from a single script on one central server? I wrote a script which is now being used on a few websites, and it has been suggested that to make updates simpler we run it from a central server ie each website will use the script from one source to actually run.  While on the surface this seems like A Very Good Ideas, I am sure there are issues which might make it a very bad idea. Can you convince me one way or the other.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.96749</guid>
	<pubDate>Wed, 16 Jul 2008 11:04:41 -0800</pubDate>
	<category>php</category>
	<category>scripting</category>
	<category>web</category>
	<dc:creator>zingzangzung</dc:creator>
	</item>
	<item>
	<title>Apache2, mod_php, suexec security confusion.</title>
	<link>http://ask.metafilter.com/93680/Apache2%2Dmodphp%2Dsuexec%2Dsecurity%2Dconfusion</link>	
	<description>Apache2 security theory; mod_php versus CGI php and the use of suExec: What is the non-theoretical problem with running Apache2 with mod_php and thus without using suexec on a dedicated system? I&apos;m setting up a typical LAMP environment. I&apos;ve used &lt;a href=&quot;http://phpsec.org/projects/phpsecinfo/index.html&quot;&gt;phpsecinfo&lt;/a&gt; to evaluate my current environment and implemented all of the recommended changes except for two, &lt;a href=&quot;http://phpsec.org/projects/phpsecinfo/tests/group_id.html&quot;&gt;Group ID&lt;/a&gt; and &lt;a href=&quot;http://phpsec.org/projects/phpsecinfo/tests/user_id.html&quot;&gt;User ID&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
The distribution is the most recent Ubuntu Server with the mostly-default Apache2 configuration, and the mostly-default PHP installation, with the exception of the changes recommended by &lt;strong&gt;phpsecinfo&lt;/strong&gt;.&lt;br&gt;
&lt;br&gt;
These warnings indicate that my group and user ID numbers are below 100 (33 to be specific), and therefore may be a problem. I am not sure how to interpret this.&lt;br&gt;
&lt;br&gt;
I followed the documentation links and was about to implement SuExec when I realized that this meant doing a lot of other reconfiguration, like not using mod_php, and that meant changing a lot of &lt;em&gt;other&lt;/em&gt; things, etc.&lt;br&gt;
&lt;br&gt;
This is not a shared system. It will only be used to host one company&apos;s applications through several virtual hosts. The applications will be PHP-based, and most frequently will use the &lt;a href=&quot;http://www.symfony-project.com&quot;&gt;Symfony&lt;/a&gt; framework. Apache currently runs as www-data, whose shell is /bin/false. SSH access to the system is by public-key authentication only and is further restricted at the daemon level to only specific real users.&lt;br&gt;
&lt;br&gt;
What do I need to do to run this securely? Resources, guides and real-world examples would be greatly appreciated.</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.93680</guid>
	<pubDate>Tue, 10 Jun 2008 06:58:46 -0800</pubDate>
	<category>apache</category>
	<category>apache2</category>
	<category>http</category>
	<category>httpd</category>
	<category>php</category>
	<category>phpsecinfo</category>
	<category>security</category>
	<category>server</category>
	<category>web</category>
	<category>webserver</category>
	<category>www</category>
	<dc:creator>odinsdream</dc:creator>
	</item>
	<item>
	<title>wordpress template is screwed up</title>
	<link>http://ask.metafilter.com/92901/wordpress%2Dtemplate%2Dis%2Dscrewed%2Dup</link>	
	<description>Wordpress/web design problem-my custom template is screwed up and I can&apos;t figure out how to fix it. Please help. I just started a wordpress site for my blog. I created a custom template for the page. However, while the code is right, the design is screwed up. The sidebar is at the bottom instead of being at the side. You can see it at &lt;a href=&quot;http://raillery.tv/blog&quot;&gt;raillery.tv/blog &lt;/a&gt;&lt;br&gt;
&lt;br&gt;
What am I doing wrong?&lt;br&gt;
&lt;br&gt;
You can see the code here &lt;a href=&quot;http://forums.somethingawful.com/showthread.php?threadid=2718078&amp;pagenumber=26#post344233403&quot;&gt;http://forums.somethingawful.com/showthread.php?threadid=2718078&amp;amp;pagenumber=26#post344233403&lt;/a&gt;</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.92901</guid>
	<pubDate>Sun, 01 Jun 2008 11:47:28 -0800</pubDate>
	<category>css</category>
	<category>design</category>
	<category>html</category>
	<category>php</category>
	<category>web</category>
	<category>wordpress</category>
	<dc:creator>clockworkjoe</dc:creator>
	</item>
	<item>
	<title>A little bigger than a thumbnail</title>
	<link>http://ask.metafilter.com/83573/A%2Dlittle%2Dbigger%2Dthan%2Da%2Dthumbnail</link>	
	<description>Resizing &amp;amp; storing many images on a webserver: limits, options, etc? I&apos;m working on a web app that currently follows the following method for image uploads:&lt;br&gt;
&lt;br&gt;
1. upload via PHP&lt;br&gt;
2. generate new unique name for the file &amp;amp; its thumbnails&lt;br&gt;
3. generate thumbnails via GD2&lt;br&gt;
4. save image files all in one directory.&lt;br&gt;
&lt;br&gt;
My concerns are basically that this might need to be scalable and flat directories, GD2, and 128MB of VPS memory just don&apos;t sound convincing in that respect. I&apos;m wondering if there&apos;s a smarter option that I&apos;m missing. I was earlier considering storage in S3 and doing thumbnails in EC2 - anyone have experience doing this? I&apos;m really wondering about how difficult it is to use EC2, since it appears to be optimized for big, big scenarios.&lt;br&gt;
&lt;br&gt;
Will A3 essentially serve these static files? Also, does anyone have knowledge about GD2 vs. Imagemagick vs. any other library that might optimize for memory?&lt;br&gt;
&lt;br&gt;
Thanks for any help!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.83573</guid>
	<pubDate>Wed, 13 Feb 2008 13:36:38 -0800</pubDate>
	<category>a3</category>
	<category>development</category>
	<category>ec2</category>
	<category>gd</category>
	<category>imagemagick</category>
	<category>images</category>
	<category>php</category>
	<category>thumbnailing</category>
	<category>thumbnails</category>
	<category>web</category>
	<dc:creator>tmcw</dc:creator>
	</item>
	<item>
	<title>phpList: seriously, wtf?</title>
	<link>http://ask.metafilter.com/83406/phpList%2Dseriously%2Dwtf</link>	
	<description>phpList: seriously, wtf? I develop a website for a non-profit, and they requested I set up phpList on the server so they can send out newsletters.&lt;br&gt;
&lt;br&gt;
Everything went ok (eventually), I can now send emails and recipients will get them. Eventually.&lt;br&gt;
&lt;br&gt;
I sent a bunch of emails as tests on Sat., copying them to both my gmail and yahoo accounts. phpList&apos;s queue shows that it sends them within a second.&lt;br&gt;
&lt;br&gt;
However, I don&apos;t receive them to my email accounts until, at a minimum, a few hours later. Some of them were still showing up this morning, 2 days later!&lt;br&gt;
&lt;br&gt;
I am a pro. web developer, but don&apos;t know that much about email servers and such. Have other people had this experience with phpList? Do yahoo and gmail give delivering these emails a low priority or what? And where exactly are they for the two days between phpList &quot;sending&quot; them and them showing up in my inbox?&lt;br&gt;
&lt;br&gt;
I am a bit worried that my client might want to send newsletters  with time-sensitive info. A few hours is ok, but two days is ridiculous.&lt;br&gt;
&lt;br&gt;
Any ideas or alternatives?&lt;br&gt;
thanks!</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.83406</guid>
	<pubDate>Mon, 11 Feb 2008 19:27:59 -0800</pubDate>
	<category>development</category>
	<category>email</category>
	<category>list</category>
	<category>mail</category>
	<category>mailing</category>
	<category>mailinglist</category>
	<category>php</category>
	<category>phpList</category>
	<category>web</category>
	<dc:creator>drjimmy11</dc:creator>
	</item>
	<item>
	<title>Retaining form data when going back and still using PHP sessions.</title>
	<link>http://ask.metafilter.com/83127/Retaining%2Dform%2Ddata%2Dwhen%2Dgoing%2Dback%2Dand%2Dstill%2Dusing%2DPHP%2Dsessions</link>	
	<description>When I altered a PHP web form to take advantage of PHP Sessions, I lost the ability to go back a page while retaining data in the form. Is this the expected behaviour, or is it caused by something else? There are two pages, &lt;strong&gt;newentry.php&lt;/strong&gt; and &lt;strong&gt;processentry.php&lt;/strong&gt;. The first page contains an HTML form whose action is the second page.&lt;br&gt;
&lt;br&gt;
The second page does some error checking and alerts the user to go back if something is not correct. I have attempted both javascript:history.back, history.go(-1), and direct links to newentry.php. Before I added Session support, going back to the form returned you to a page with the data still filled in.&lt;br&gt;
&lt;br&gt;
Since I added sessions, going back takes you to a blank copy of the form. Is this normal? Is there some other cause I should investigate?&lt;br&gt;
&lt;br&gt;
What is the best way to handle this sort of thing? Should I not rely on the first behaviour at all?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.83127</guid>
	<pubDate>Fri, 08 Feb 2008 05:36:34 -0800</pubDate>
	<category>form</category>
	<category>html</category>
	<category>php</category>
	<category>programming</category>
	<category>sessions</category>
	<category>web</category>
	<category>webdev</category>
	<dc:creator>odinsdream</dc:creator>
	</item>
	<item>
	<title>Help me AJAXify a portion of my project without overwhelming me.</title>
	<link>http://ask.metafilter.com/80476/Help%2Dme%2DAJAXify%2Da%2Dportion%2Dof%2Dmy%2Dproject%2Dwithout%2Doverwhelming%2Dme</link>	
	<description>Help me AJAX-ify a very simple web process in PHP. Links to very simple AJAX tutorials much appreciated. I&apos;ve been reading up on AJAX technologies for a couple weeks. I&apos;ve tried out a few, but I am still stuck with taking existing tutorials and modifying them slightly without really understanding behind-the-scenes. That is, I understand &lt;em&gt;conceptually&lt;/em&gt; what the tutorials are showing me, but not very much programmatically. I&apos;m fairly capable with PHP and HTML. I can read and write basic Javascript, but it seems like the AJAX technologies require a deeper level of understanding.&lt;br&gt;
&lt;br&gt;
Having said that, all I&apos;m really looking to do is rewrite a very simple portion of my project. Hopefully taking this small step will help me better understand what AJAX can really help me do long-term.&lt;br&gt;
&lt;br&gt;
I have one PHP script, delete.php, which does an UPDATE SQL statement setting Deleted = True for a given ID, passed via HTML GET from other pages.&lt;br&gt;
&lt;br&gt;
This seems like the perfect thing to AJAXify, but all of the tutorials I can find jump straight into Google Mashups, SOAP, JSON, XML, etc. I don&apos;t need these yet. What are some very basic tutorials that would help me replace my delete.php script with something more efficient?</description>
	<guid isPermaLink="false">tag:ask.metafilter.com,2008:site.80476</guid>
	<pubDate>Tue, 08 Jan 2008 08:41:58 -0800</pubDate>
	<category>ajax</category>
	<category>dom</category>
	<category>html</category>
	<category>javascript</category>
	<category>php</category>
	<category>scripting</category>
	<category>tutorial</category>
	<category>tutorials</category>
	<category>web</category>
	<category>www</category>
	<category>xml</category>
	<dc:creator>odinsdream</dc:creator>
	</item>
	
	</channel>
</rss>

