<?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: Faster Form Submission and Processing with fsockopen</title>
	<atom:link href="http://www.askapache.com/php/speedy-form-post.html/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.askapache.com/php/speedy-form-post.html</link>
	<description>Advanced Web Development</description>
	<lastBuildDate>Wed, 18 Nov 2009 23:28:48 -0500</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Pawel</title>
		<link>http://www.askapache.com/php/speedy-form-post.html#comment-47060</link>
		<dc:creator>Pawel</dc:creator>
		<pubDate>Wed, 12 Nov 2008 08:46:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/php/speedy-form-post.html#comment-47060</guid>
		<description>Hello, do you happen to know when part III will be published? I cant wait ;)

Thanks!</description>
		<content:encoded><![CDATA[<p>Hello, do you happen to know when part III will be published? I cant wait ;)</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AskApache</title>
		<link>http://www.askapache.com/php/speedy-form-post.html#comment-36805</link>
		<dc:creator>AskApache</dc:creator>
		<pubDate>Wed, 05 Mar 2008 21:27:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/php/speedy-form-post.html#comment-36805</guid>
		<description>&lt;p&gt;&lt;strong&gt;@ Alexandre&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Excellent question, and one which I have been experimenting and learning about as recently as last month.. I am saving this ultra-cool technique for &lt;strong&gt;part IIII&lt;/strong&gt;, just because it is so radically bad@ss.&lt;/p&gt;

&lt;h3&gt;the right direction&lt;/h3&gt;
&lt;pre&gt;
function close_abort(){
  global $fp;
  @ fclose($fp);
}
&#160;
register_shutdown_function(close_abort); // run function on connection close/reset
ignore_user_abort(true); // run script in background
set_time_limit(0); // run script forever
&#160;
// open errorlog.txt in append mode
$fp = @ fopen(&#039;errorlog.txt&#039;, &#039;a+&#039;);
&#160;
do{
  sleep(15);  // pauses script execution for 15 seconds
  echo &quot;\n.&quot;; // to keep connection alive by sending data
&#160;
  ob_start(); // start a buffer to capture output
  phpinfo();  // print php info to output
  $emess=ob_get_clean(); // save output into emess var
&#160;
  fwrite($fp, $emess);   // write emess value to errorlog.txt
  break;  // outie
} while(true);
&#160;
@ fclose($fp); // close errorlog.txt filepointer
&#160;
// display emess for debugging
//header(&#039;Content-type: text/plain&#039;);
//echo $emess; 
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p><strong>@ Alexandre</strong></p>
<p>Excellent question, and one which I have been experimenting and learning about as recently as last month.. I am saving this ultra-cool technique for <strong>part IIII</strong>, just because it is so radically bad@ss.</p>
<h3>the right direction</h3>
<pre>function close_abort(){
  global $fp;
  @ fclose($fp);
}
&nbsp;
register_shutdown_function(close_abort); // run function on connection close/reset
ignore_user_abort(true); // run script in background
set_time_limit(0); // run script forever
&nbsp;
// open errorlog.txt in append mode
$fp = @ fopen(&#039;errorlog.txt&#039;, &#039;a+&#039;);
&nbsp;
do{
  sleep(15);  // pauses script execution for 15 seconds
  echo "\n."; // to keep connection alive by sending data
&nbsp;
  ob_start(); // start a buffer to capture output
  phpinfo();  // print php info to output
  $emess=ob_get_clean(); // save output into emess var
&nbsp;
  fwrite($fp, $emess);   // write emess value to errorlog.txt
  break;  // outie
} while(true);
&nbsp;
@ fclose($fp); // close errorlog.txt filepointer
&nbsp;
// display emess for debugging
//header(&#039;Content-type: text/plain&#039;);
//echo $emess; </pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandre Plennevaux</title>
		<link>http://www.askapache.com/php/speedy-form-post.html#comment-36785</link>
		<dc:creator>Alexandre Plennevaux</dc:creator>
		<pubDate>Wed, 05 Mar 2008 08:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.askapache.com/php/speedy-form-post.html#comment-36785</guid>
		<description>Hi!

Thank a lot for this interesting article. Question: how do you do error management in this technique? Specifically, what happens if some sort of error happens in the processing of background.php? You&#039;ve just displayed a &quot;Thank you&quot; message, and then afterwards, you cannot inform the user that an error occurred.
Or, can you?</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Thank a lot for this interesting article. Question: how do you do error management in this technique? Specifically, what happens if some sort of error happens in the processing of background.php? You&#8217;ve just displayed a &#8220;Thank you&#8221; message, and then afterwards, you cannot inform the user that an error occurred.<br />
Or, can you?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
