<?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 Multi-process 1.1.1 (Beta) Released</title>
	<atom:link href="http://www.saynotoflash.com/archives/php-multi-process-1-1-beta-released/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.saynotoflash.com/archives/php-multi-process-1-1-beta-released/</link>
	<description>PHP, Symfony, Web Development</description>
	<lastBuildDate>Tue, 09 Mar 2010 22:55:44 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jestep</title>
		<link>http://www.saynotoflash.com/archives/php-multi-process-1-1-beta-released/comment-page-1/#comment-21597</link>
		<dc:creator>jestep</dc:creator>
		<pubDate>Mon, 06 Jul 2009 17:50:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.saynotoflash.com/?p=107#comment-21597</guid>
		<description>Get the updated version. Basically, you store variables in the cache database. You can send specific variables to each child process.

&lt;code&gt;$processes[] = array(
&#039;path&#039;=&gt;&#039;process_1.php&#039;,
&#039;variables&#039;=&gt;array(
                    &#039;some_value&#039;=&gt;5,
                    &#039;another_value&#039;=&gt;10));&lt;/code&gt;

The original 1.1 script only allowed passing the variables via: 

&lt;code&gt;$mp-&gt;createChildren($processes,$variables);&lt;/code&gt;

For the children, retrieve the variables via:

&lt;code&gt;$variables = $mp-&gt;getVariables();&lt;/code&gt;
</description>
		<content:encoded><![CDATA[<p>Get the updated version. Basically, you store variables in the cache database. You can send specific variables to each child process.</p>
<p><code>$processes[] = array(<br />
'path'=>'process_1.php',<br />
'variables'=>array(<br />
                    'some_value'=>5,<br />
                    'another_value'=>10));</code></p>
<p>The original 1.1 script only allowed passing the variables via: </p>
<p><code>$mp->createChildren($processes,$variables);</code></p>
<p>For the children, retrieve the variables via:</p>
<p><code>$variables = $mp->getVariables();</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian</title>
		<link>http://www.saynotoflash.com/archives/php-multi-process-1-1-beta-released/comment-page-1/#comment-21596</link>
		<dc:creator>Christian</dc:creator>
		<pubDate>Mon, 06 Jul 2009 17:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.saynotoflash.com/?p=107#comment-21596</guid>
		<description>Hello,

how do you pass and receive GET or any other variable from multi_prog to child?</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>how do you pass and receive GET or any other variable from multi_prog to child?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
