<?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: PHP: close browser connection and keep on executing</title>
	<atom:link href="http://www.zulius.com/how-to/close-browser-connection-continue-execution/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zulius.com/how-to/close-browser-connection-continue-execution/</link>
	<description>Advanced Application Development</description>
	<lastBuildDate>Tue, 07 Feb 2012 19:41:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Robert</title>
		<link>http://www.zulius.com/how-to/close-browser-connection-continue-execution/comment-page-1/#comment-396</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Mon, 24 Oct 2011 14:43:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=543#comment-396</guid>
		<description>Hey thanks for the tutorial. I created a class which should help streamlining the execution of output and background functions.

It even works with gzip.

https://github.com/RobertBiehl/php-background-server</description>
		<content:encoded><![CDATA[<p>Hey thanks for the tutorial. I created a class which should help streamlining the execution of output and background functions.</p>
<p>It even works with gzip.</p>
<p><a href="https://github.com/RobertBiehl/php-background-server" rel="nofollow">https://github.com/RobertBiehl/php-background-server</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sagan</title>
		<link>http://www.zulius.com/how-to/close-browser-connection-continue-execution/comment-page-1/#comment-383</link>
		<dc:creator>Sagan</dc:creator>
		<pubDate>Fri, 26 Aug 2011 11:01:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=543#comment-383</guid>
		<description>This is now working on a curled page. I am using curl  in 1 php file to run a 2nd php file. I am using the above code trying to get the 2nd php file to send a response back to the 1st php file and keep working. The problem is that the 2nd php file isn&#039;t sending any response until it completes running, but that takes almost a minute. How can I send a response back to the 1st, calling php file then continue with the rest of the code and without requiring the 1st php file to wait for the 2nd file to finish?</description>
		<content:encoded><![CDATA[<p>This is now working on a curled page. I am using curl  in 1 php file to run a 2nd php file. I am using the above code trying to get the 2nd php file to send a response back to the 1st php file and keep working. The problem is that the 2nd php file isn't sending any response until it completes running, but that takes almost a minute. How can I send a response back to the 1st, calling php file then continue with the rest of the code and without requiring the 1st php file to wait for the 2nd file to finish?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony Hayes</title>
		<link>http://www.zulius.com/how-to/close-browser-connection-continue-execution/comment-page-1/#comment-378</link>
		<dc:creator>Tony Hayes</dc:creator>
		<pubDate>Sun, 07 Aug 2011 12:27:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=543#comment-378</guid>
		<description>That&#039;s awesome, didn&#039;t even know this was possible til now. Will be using with abandon. You rock.</description>
		<content:encoded><![CDATA[<p>That's awesome, didn't even know this was possible til now. Will be using with abandon. You rock.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim White</title>
		<link>http://www.zulius.com/how-to/close-browser-connection-continue-execution/comment-page-1/#comment-375</link>
		<dc:creator>Tim White</dc:creator>
		<pubDate>Thu, 28 Jul 2011 14:57:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=543#comment-375</guid>
		<description>@Ramzi - if mod_deflate is enabled on Apache, the HTTP response is getting gzipped before being sent to the client.  This means PHP won&#039;t know the correct size of the response to put in the &quot;Content-Length&quot; header.  Try disabling mod_deflate if it&#039;s enabled.</description>
		<content:encoded><![CDATA[<p>@Ramzi - if mod_deflate is enabled on Apache, the HTTP response is getting gzipped before being sent to the client.  This means PHP won't know the correct size of the response to put in the "Content-Length" header.  Try disabling mod_deflate if it's enabled.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramzi</title>
		<link>http://www.zulius.com/how-to/close-browser-connection-continue-execution/comment-page-1/#comment-374</link>
		<dc:creator>Ramzi</dc:creator>
		<pubDate>Thu, 28 Jul 2011 09:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=543#comment-374</guid>
		<description>I&#039;v tried the Example 2 but the explorer doesn&#039;t close the connection until the process is finished .

is their any configuration required in the Apache server or PHP files?</description>
		<content:encoded><![CDATA[<p>I'v tried the Example 2 but the explorer doesn't close the connection until the process is finished .</p>
<p>is their any configuration required in the Apache server or PHP files?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim White</title>
		<link>http://www.zulius.com/how-to/close-browser-connection-continue-execution/comment-page-1/#comment-310</link>
		<dc:creator>Tim White</dc:creator>
		<pubDate>Fri, 08 Apr 2011 16:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=543#comment-310</guid>
		<description>@CaMer0n - thanks!  I&#039;ve updated this post.</description>
		<content:encoded><![CDATA[<p>@CaMer0n - thanks!  I've updated this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CaMer0n</title>
		<link>http://www.zulius.com/how-to/close-browser-connection-continue-execution/comment-page-1/#comment-309</link>
		<dc:creator>CaMer0n</dc:creator>
		<pubDate>Fri, 08 Apr 2011 05:17:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=543#comment-309</guid>
		<description>My scripts had sessions active, which was preventing the above code from working. 
Adding session_write_close(); before the background task fixed it.</description>
		<content:encoded><![CDATA[<p>My scripts had sessions active, which was preventing the above code from working.<br />
Adding session_write_close(); before the background task fixed it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP guy</title>
		<link>http://www.zulius.com/how-to/close-browser-connection-continue-execution/comment-page-1/#comment-301</link>
		<dc:creator>PHP guy</dc:creator>
		<pubDate>Tue, 15 Feb 2011 09:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=543#comment-301</guid>
		<description>I had to also set header(&#039;Content-Encoding: none&#039;);
I believe this has something to do with compression, gzip or something. It probably depends on whether  your server does it by default. Probably a better way is to find the compressed length.</description>
		<content:encoded><![CDATA[<p>I had to also set header('Content-Encoding: none');<br />
I believe this has something to do with compression, gzip or something. It probably depends on whether  your server does it by default. Probably a better way is to find the compressed length.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slava</title>
		<link>http://www.zulius.com/how-to/close-browser-connection-continue-execution/comment-page-1/#comment-188</link>
		<dc:creator>Slava</dc:creator>
		<pubDate>Fri, 29 Jan 2010 14:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.zulius.com/?p=543#comment-188</guid>
		<description>Thank you, very helpful, that&#039;s how I did http://dig.ua/ping/zulius.com</description>
		<content:encoded><![CDATA[<p>Thank you, very helpful, that's how I did <a href="http://dig.ua/ping/zulius.com" rel="nofollow">http://dig.ua/ping/zulius.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

