<?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>Mon, 07 May 2012 21:11:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: KafeKafe &#187; PHP Large File Upload With .htaccess</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-5565</link>
		<dc:creator>KafeKafe &#187; PHP Large File Upload With .htaccess</dc:creator>
		<pubDate>Mon, 26 Jul 2010 21:35:29 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-5565</guid>
		<description>[...] Upload large or big file in PHP using .htaccess.   Share and [...]</description>
		<content:encoded><![CDATA[<p>[...] Upload large or big file in PHP using .htaccess.   Share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prakash</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-5373</link>
		<dc:creator>Prakash</dc:creator>
		<pubDate>Tue, 20 Apr 2010 07:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-5373</guid>
		<description>Hey It&#039;s not working buddy.....
It is showing 500 Internal Server Error.</description>
		<content:encoded><![CDATA[<p>Hey It&#8217;s not working buddy&#8230;..<br />
It is showing 500 Internal Server Error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prakash</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-5372</link>
		<dc:creator>Prakash</dc:creator>
		<pubDate>Tue, 20 Apr 2010 06:27:29 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-5372</guid>
		<description>Hi Roshan,
I have tried the &quot;set_time_limit(0);&quot; to increase the execution time but it won&#039;t worked.
I feel your approach may work by putting it in .htaccess.
any way thanks, will let you know about it.
But why couldn&#039;t i set it in .ini (remote server)....????
like,
ini_set(&#039;max_execution_time&#039;, 7200); ---  Working
ini_set(&#039;upload_max_filesize&#039;, &#039;64M&#039;);  --- Not  working
ini_set(&#039;max_input_time&#039;, 7200);  --- Not working
ini_set(&#039;memory_limit&#039;, &quot;64M&quot;);  --- Not working</description>
		<content:encoded><![CDATA[<p>Hi Roshan,<br />
I have tried the &#8220;set_time_limit(0);&#8221; to increase the execution time but it won&#8217;t worked.<br />
I feel your approach may work by putting it in .htaccess.<br />
any way thanks, will let you know about it.<br />
But why couldn&#8217;t i set it in .ini (remote server)&#8230;.????<br />
like,<br />
ini_set(&#8216;max_execution_time&#8217;, 7200); &#8212;  Working<br />
ini_set(&#8216;upload_max_filesize&#8217;, &#8217;64M&#8217;);  &#8212; Not  working<br />
ini_set(&#8216;max_input_time&#8217;, 7200);  &#8212; Not working<br />
ini_set(&#8216;memory_limit&#8217;, &#8220;64M&#8221;);  &#8212; Not working</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bluepicaso</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-5345</link>
		<dc:creator>bluepicaso</dc:creator>
		<pubDate>Fri, 09 Apr 2010 12:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-5345</guid>
		<description>Really great, It worked like a charm</description>
		<content:encoded><![CDATA[<p>Really great, It worked like a charm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ritesh</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-5300</link>
		<dc:creator>Ritesh</dc:creator>
		<pubDate>Wed, 24 Mar 2010 06:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-5300</guid>
		<description>@Roshan- do you have any tips for uploading large file very fast. 
I have large 44MB .pdf, .xlsx and .csv. It seems like .csv uploading faster. 
Thanks!</description>
		<content:encoded><![CDATA[<p>@Roshan- do you have any tips for uploading large file very fast.<br />
I have large 44MB .pdf, .xlsx and .csv. It seems like .csv uploading faster.<br />
Thanks!</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-5299</link>
		<dc:creator>ichha</dc:creator>
		<pubDate>Wed, 24 Mar 2010 04:54:59 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-5299</guid>
		<description>Check what is the server type.If the server is windows server it works with .htaccess file but produces internal server error for the Linux server. 

For this you have to create the custom php.ini file and upload in the root folder.

Create the php.ini file and put 

upload_max_filesize = 100M
post_max_size = 100M
output_buffering = on
max_execution_time = 1000
max_input_time = 1000
memory_limit = 64M

I think it works.</description>
		<content:encoded><![CDATA[<p>Check what is the server type.If the server is windows server it works with .htaccess file but produces internal server error for the Linux server. </p>
<p>For this you have to create the custom php.ini file and upload in the root folder.</p>
<p>Create the php.ini file and put </p>
<p>upload_max_filesize = 100M<br />
post_max_size = 100M<br />
output_buffering = on<br />
max_execution_time = 1000<br />
max_input_time = 1000<br />
memory_limit = 64M</p>
<p>I think it works.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: isabel</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-5268</link>
		<dc:creator>isabel</dc:creator>
		<pubDate>Thu, 18 Mar 2010 10:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-5268</guid>
		<description>Hi everyone,

I have the same problem: unable to upload files bigger than 12 MB;
however:
- I don&#039;t have access to any of the ini-files
- the hostingprovider tells me it&#039;s not possible to &#039;upgrade&#039; to allow the upload of more MB
- adapting the .htaccess file with the code provided: 
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 200
php_value max_input_time 200
returns an Internal Server Error: The server encountered an internal error or misconfiguration and was unable to complete your request.
- only 1 FTP user is available for this account (so I cannot provide this option either)..

As per the hostingprovider, I have to &quot;split the query in the notepad and then import the files&quot; ... is this an option? And if so, HOW do I have to do this?...

Any help is really appreciated!
thanks in advance ;)</description>
		<content:encoded><![CDATA[<p>Hi everyone,</p>
<p>I have the same problem: unable to upload files bigger than 12 MB;<br />
however:<br />
- I don&#8217;t have access to any of the ini-files<br />
- the hostingprovider tells me it&#8217;s not possible to &#8216;upgrade&#8217; to allow the upload of more MB<br />
- adapting the .htaccess file with the code provided:<br />
php_value upload_max_filesize 20M<br />
php_value post_max_size 20M<br />
php_value max_execution_time 200<br />
php_value max_input_time 200<br />
returns an Internal Server Error: The server encountered an internal error or misconfiguration and was unable to complete your request.<br />
- only 1 FTP user is available for this account (so I cannot provide this option either)..</p>
<p>As per the hostingprovider, I have to &#8220;split the query in the notepad and then import the files&#8221; &#8230; is this an option? And if so, HOW do I have to do this?&#8230;</p>
<p>Any help is really appreciated!<br />
thanks in advance <img src='http://roshanbh.com.np/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ProUKM</title>
		<link>http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html/comment-page-2#comment-5224</link>
		<dc:creator>ProUKM</dc:creator>
		<pubDate>Sat, 06 Mar 2010 06:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://roshanbh.com.np/2008/01/uploading-larger-files-in-php.html#comment-5224</guid>
		<description>not work !</description>
		<content:encoded><![CDATA[<p>not work !</p>
]]></content:encoded>
	</item>
	<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>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/19 queries in 0.029 seconds using disk: basic
Object Caching 412/412 objects using disk: basic

Served from: roshanbh.com.np @ 2012-05-17 05:54:32 -->
