<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Uploading large(big)  files in PHP using .htaccess</title>
	<atom:link href="http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/feed" rel="self" type="application/rss+xml" />
	<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html</link>
	<description>Useful Tutorials, Scripts , Tips, and Resources for all PHP and Ajax beginners and experts .</description>
	<lastBuildDate>Wed, 10 Mar 2010 10:59:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Gangadhara B S</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-5141</link>
		<dc:creator>Gangadhara B S</dc:creator>
		<pubDate>Mon, 08 Feb 2010 10:28:16 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-5141</guid>
		<description>Its working correctly, great post.
Thanks a lot Dude</description>
		<content:encoded><![CDATA[<p>Its working correctly, great post.<br />
Thanks a lot Dude</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudeep Shrestha</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-5121</link>
		<dc:creator>Sudeep Shrestha</dc:creator>
		<pubDate>Tue, 02 Feb 2010 03:51:39 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-5121</guid>
		<description>i have uploaded a site ,its a huge with lots of pages more than 200, and lots of folder having files. i am using the filezilla. While using these i am not confirmed that if each file is being uploaded . Is there any way that i should confirm that all the files has been uploaded.</description>
		<content:encoded><![CDATA[<p>i have uploaded a site ,its a huge with lots of pages more than 200, and lots of folder having files. i am using the filezilla. While using these i am not confirmed that if each file is being uploaded . Is there any way that i should confirm that all the files has been uploaded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ichha</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-5054</link>
		<dc:creator>Ichha</dc:creator>
		<pubDate>Sun, 17 Jan 2010 13:26:07 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-5054</guid>
		<description>Why ini_set() does not works.I want to increase the upload limit.
Does this depends on PHP version</description>
		<content:encoded><![CDATA[<p>Why ini_set() does not works.I want to increase the upload limit.<br />
Does this depends on PHP version</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ichha</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-5053</link>
		<dc:creator>ichha</dc:creator>
		<pubDate>Sun, 17 Jan 2010 13:23:24 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-5053</guid>
		<description>Why ini_set() does not work. I want to increase the upload limit.

Does it depends on PHP version</description>
		<content:encoded><![CDATA[<p>Why ini_set() does not work. I want to increase the upload limit.</p>
<p>Does it depends on PHP version</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ebusinessuk</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-4998</link>
		<dc:creator>ebusinessuk</dc:creator>
		<pubDate>Wed, 30 Dec 2009 14:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-4998</guid>
		<description>It was quite a hurdle to upload large files. In our line of business, files are always macro, never micro. Your tutorial has made uploading a breeze.</description>
		<content:encoded><![CDATA[<p>It was quite a hurdle to upload large files. In our line of business, files are always macro, never micro. Your tutorial has made uploading a breeze.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikhil</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-4885</link>
		<dc:creator>Nikhil</dc:creator>
		<pubDate>Wed, 09 Dec 2009 08:30:29 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-4885</guid>
		<description>@Roshan

hi roshan i&#039;m exactly the same issue. Even after settings the .htaccess file i cannot upload a 17 mb file my phpinfo() says that upload limit is 50 mb and post limit is also 50 mb and the memory limit is 128mb.

if i use  a .htaccess file  the script executes for  some time and returns a &quot;500 Internal server&quot;
with out .htaccess file the sever returns &quot;Connection was reset&quot;. 

Is it some thing to do with the exectuion time of the script ? I tried to extend the script execution time thorugh the .htacess[php_value max_execution_time 900].Stil i&#039;m getting 
&quot;500 Internal server&quot; error.
Please hep i&#039;m new to php coding.........

Thanks</description>
		<content:encoded><![CDATA[<p>@Roshan</p>
<p>hi roshan i&#8217;m exactly the same issue. Even after settings the .htaccess file i cannot upload a 17 mb file my phpinfo() says that upload limit is 50 mb and post limit is also 50 mb and the memory limit is 128mb.</p>
<p>if i use  a .htaccess file  the script executes for  some time and returns a &#8220;500 Internal server&#8221;<br />
with out .htaccess file the sever returns &#8220;Connection was reset&#8221;. </p>
<p>Is it some thing to do with the exectuion time of the script ? I tried to extend the script execution time thorugh the .htacess[php_value max_execution_time 900].Stil i&#8217;m getting<br />
&#8220;500 Internal server&#8221; error.<br />
Please hep i&#8217;m new to php coding&#8230;&#8230;&#8230;</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ganool</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-4831</link>
		<dc:creator>ganool</dc:creator>
		<pubDate>Thu, 19 Nov 2009 14:05:58 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-4831</guid>
		<description>i got 500 internal server erro..
help please</description>
		<content:encoded><![CDATA[<p>i got 500 internal server erro..<br />
help please</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kirill</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-4695</link>
		<dc:creator>Kirill</dc:creator>
		<pubDate>Fri, 16 Oct 2009 12:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-4695</guid>
		<description>I have trouble uploading realy large files. Up to 5 GB. I have next entries in my .htaccess, but it doesn&#039;t solve the problem.

LimitRequestBody 0
php_value upload_max_filesize 10000M
php_value post_max_size 15000M
php_value max_execution_time 18000
php_value max_input_time -1
php_value memory_limit -1

I am able to upload 1.5 GB file, but failed with 4 GB.

What should I check?</description>
		<content:encoded><![CDATA[<p>I have trouble uploading realy large files. Up to 5 GB. I have next entries in my .htaccess, but it doesn&#8217;t solve the problem.</p>
<p>LimitRequestBody 0<br />
php_value upload_max_filesize 10000M<br />
php_value post_max_size 15000M<br />
php_value max_execution_time 18000<br />
php_value max_input_time -1<br />
php_value memory_limit -1</p>
<p>I am able to upload 1.5 GB file, but failed with 4 GB.</p>
<p>What should I check?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SlackeR</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-4653</link>
		<dc:creator>SlackeR</dc:creator>
		<pubDate>Mon, 05 Oct 2009 03:56:37 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-4653</guid>
		<description>Can you post a same html or php upload script that I can use even a simple one? I tried this on htaccess and created my php upload script. I gave me errors but when I checked it was able to upload the 34mb file I tried uploading

A nice script even a simple one that is usable would help. Thanks</description>
		<content:encoded><![CDATA[<p>Can you post a same html or php upload script that I can use even a simple one? I tried this on htaccess and created my php upload script. I gave me errors but when I checked it was able to upload the 34mb file I tried uploading</p>
<p>A nice script even a simple one that is usable would help. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-4452</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Sat, 22 Aug 2009 07:59:51 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-4452</guid>
		<description>It worked for me but to err on the side of caution (Possible DDOS attacks) I decided to use these same exact settings in the PHP config editor. I tested everything out and it works smoothly now, thank you for sharing this.</description>
		<content:encoded><![CDATA[<p>It worked for me but to err on the side of caution (Possible DDOS attacks) I decided to use these same exact settings in the PHP config editor. I tested everything out and it works smoothly now, thank you for sharing this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: not</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-4406</link>
		<dc:creator>not</dc:creator>
		<pubDate>Wed, 19 Aug 2009 07:24:22 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-4406</guid>
		<description>bla bla bla, i see no deference, it&#039;s not working at all lol</description>
		<content:encoded><![CDATA[<p>bla bla bla, i see no deference, it&#8217;s not working at all lol</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Uploading large(big) files in PHP using .htaccess &#171; endo &#8211; explosion kiss</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-4341</link>
		<dc:creator>Uploading large(big) files in PHP using .htaccess &#171; endo &#8211; explosion kiss</dc:creator>
		<pubDate>Sun, 09 Aug 2009 16:02:12 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-4341</guid>
		<description>[...] Source: http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html [...]</description>
		<content:encoded><![CDATA[<p>[...] Source: <a href="http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html" rel="nofollow">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chien</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-4321</link>
		<dc:creator>Chien</dc:creator>
		<pubDate>Tue, 04 Aug 2009 12:31:06 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-4321</guid>
		<description>thanks so much! it works!!!!!!!!!!!</description>
		<content:encoded><![CDATA[<p>thanks so much! it works!!!!!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Web Design Company</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-4234</link>
		<dc:creator>Web Design Company</dc:creator>
		<pubDate>Wed, 22 Jul 2009 08:16:47 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-4234</guid>
		<description>WoW. very very thanks. Its working on fine way. Its really a good and easy way.</description>
		<content:encoded><![CDATA[<p>WoW. very very thanks. Its working on fine way. Its really a good and easy way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Salman</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-4159</link>
		<dc:creator>Salman</dc:creator>
		<pubDate>Thu, 02 Jul 2009 07:54:21 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-4159</guid>
		<description>Debugging tips for people who are unable to get it to work:

1) Inside the directory that contains the php file upload handler script, create a php file that contains a call to phpinfo(). Open this file in browser and inspect the &quot;local&quot; values (e.g. upload_max_filesize) reported by phpinfo.

2) Activate additional error logging in php if possible. If you do not have access to php&#039;s global configuration file, you *might* be able to override settings via .htaccess by aadding these lines:

# enable sending error message to browser
php_flag  display_errors On
# shows most errors including NOTICEs
php_value error_reporting 2047

3) Have a look at apache error log for errors related to apache, not php. Apache error logs are enabled by default and usually stored in a file called &#039;error.log&#039;. This gives you further details about configuration errors such as:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

4) Try entering numerical values instead of php constants. Example:

20M =&gt; 20971520
100M =&gt; 104857600</description>
		<content:encoded><![CDATA[<p>Debugging tips for people who are unable to get it to work:</p>
<p>1) Inside the directory that contains the php file upload handler script, create a php file that contains a call to phpinfo(). Open this file in browser and inspect the &#8220;local&#8221; values (e.g. upload_max_filesize) reported by phpinfo.</p>
<p>2) Activate additional error logging in php if possible. If you do not have access to php&#8217;s global configuration file, you *might* be able to override settings via .htaccess by aadding these lines:</p>
<p># enable sending error message to browser<br />
php_flag  display_errors On<br />
# shows most errors including NOTICEs<br />
php_value error_reporting 2047</p>
<p>3) Have a look at apache error log for errors related to apache, not php. Apache error logs are enabled by default and usually stored in a file called &#8216;error.log&#8217;. This gives you further details about configuration errors such as:</p>
<p>Internal Server Error<br />
The server encountered an internal error or misconfiguration and was unable to complete your request.</p>
<p>4) Try entering numerical values instead of php constants. Example:</p>
<p>20M =&gt; 20971520<br />
100M =&gt; 104857600</p>
]]></content:encoded>
	</item>
</channel>
</rss>
