<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JohnForHire.com - Programmer For Hire - Brilliance with no hidden fees! &#187; PHP</title>
	<atom:link href="http://johnforhire.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://johnforhire.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 24 May 2010 21:27:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP Uploading &amp; .htaccess</title>
		<link>http://johnforhire.com/2009/12/php-uploading-htaccess/</link>
		<comments>http://johnforhire.com/2009/12/php-uploading-htaccess/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 19:06:44 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[.htaccess]]></category>

		<guid isPermaLink="false">http://johnforhire.com/?p=170</guid>
		<description><![CDATA[For the senior developers, this is common knowledge in your tool box.  For others, it can be quite a hassle to get your app working.  Throw in some GoDaddy or similiar hosting service and you&#8217;ve got a nightmare.
Here are a couple examples to help you with uploading in PHP..
Open your .htaccess file or [...]]]></description>
			<content:encoded><![CDATA[<p>For the senior developers, this is common knowledge in your tool box.  For others, it can be quite a hassle to get your app working.  Throw in some GoDaddy or similiar hosting service and you&#8217;ve got a nightmare.</p>
<p>Here are a couple examples to help you with uploading in PHP..</p>
<p>Open your .htaccess file or create one in a txt editor now.  Add the below to the bottom of your .htaccess:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">php_value upload_max_filesize 20M  <span style="color: #666666; font-style: italic;">//Add your max upload size here</span>
php_value post_max_size 20M <span style="color: #666666; font-style: italic;">//this sets the filesize limit while using POST in your form</span></pre></div></div>

<p>For those of you with sluggish servers, shared hosting or large files, it may benefit you to up the maximum execution time so that the upload doesn&#8217;t timeout during the process</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">php_value max_execution_time <span style="color: #cc66cc;">200</span>
php_value max_input_time <span style="color: #cc66cc;">200</span></pre></div></div>

<p>That&#8217;s a wrap, there are plenty of other resources available on php and .htaccess, just google it.</p>
]]></content:encoded>
			<wfw:commentRss>http://johnforhire.com/2009/12/php-uploading-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
