<?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: When submitting a PHP form, the script does not stop</title>
	<atom:link href="http://www.theerrormessage.com/2009/08/when-submitting-a-php-form-the-script-does-not-stop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theerrormessage.com/2009/08/when-submitting-a-php-form-the-script-does-not-stop/</link>
	<description>Fix your error</description>
	<lastBuildDate>Sun, 29 Aug 2010 02:07:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: John</title>
		<link>http://www.theerrormessage.com/2009/08/when-submitting-a-php-form-the-script-does-not-stop/comment-page-1/#comment-3248</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 20 Aug 2009 13:21:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.theerrormessage.com/2009/08/17/when-submitting-a-php-form-the-script-does-not-stop/#comment-3248</guid>
		<description>&lt;p&gt;Not everyone can access the php.ini file so this setting can also be done per dir using htaccess file. Like this:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;php_value post_max_size 40M &lt;/code&gt;&lt;/p&gt;
&lt;p&gt;So as you said the &lt;code style=&quot;display:inline&quot;&gt;post_max_size&lt;/code&gt; is the size of all the files plus the size of the data in the form. Also beside this value there are other ini values that may make the upload script not working as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code style=&quot;display:inline&quot;&gt;upload_max_filesize&lt;/code&gt; is the sum of the sizes of the files posted for upload
&lt;/li&gt;
&lt;li&gt;&lt;code style=&quot;display:inline&quot;&gt;memory_limit&lt;/code&gt; is the size of the memory php is allowed to use and has a role on upload because some of the data uploaded is saved in memory before it is written to disk
&lt;/li&gt;
&lt;li&gt;&lt;code style=&quot;display:inline&quot;&gt;max_execution_time&lt;/code&gt; is the time the script runs so if you upload large file is also a good idea  to increase this time
&lt;/li&gt;
&lt;li&gt;&lt;code style=&quot;display:inline&quot;&gt;max_input_time&lt;/code&gt; is the script runs when input sent
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information about this variables you can read here: http://www.php.net/manual/en/ini.list.php&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Not everyone can access the php.ini file so this setting can also be done per dir using htaccess file. Like this:</p>
<p><code>php_value post_max_size 40M </code></p>
<p>So as you said the <code style="display:inline">post_max_size</code> is the size of all the files plus the size of the data in the form. Also beside this value there are other ini values that may make the upload script not working as:</p>
<ul>
<li><code style="display:inline">upload_max_filesize</code> is the sum of the sizes of the files posted for upload
</li>
<li><code style="display:inline">memory_limit</code> is the size of the memory php is allowed to use and has a role on upload because some of the data uploaded is saved in memory before it is written to disk
</li>
<li><code style="display:inline">max_execution_time</code> is the time the script runs so if you upload large file is also a good idea  to increase this time
</li>
<li><code style="display:inline">max_input_time</code> is the script runs when input sent
</li>
</ul>
<p>For more information about this variables you can read here: <a href="http://www.php.net/manual/en/ini.list.php" rel="nofollow">http://www.php.net/manual/en/ini.list.php</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sonu</title>
		<link>http://www.theerrormessage.com/2009/08/when-submitting-a-php-form-the-script-does-not-stop/comment-page-1/#comment-3234</link>
		<dc:creator>sonu</dc:creator>
		<pubDate>Thu, 20 Aug 2009 07:25:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.theerrormessage.com/2009/08/17/when-submitting-a-php-form-the-script-does-not-stop/#comment-3234</guid>
		<description>some error in my site</description>
		<content:encoded><![CDATA[<p>some error in my site</p>
]]></content:encoded>
	</item>
</channel>
</rss>
