Re: Re: [PHP] include
| From: | Tommy Pham | Date: | Mon, 21 Nov 2011 02:13:53 +0000 |
| Subject: | Re: Re: [PHP] include | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315781@lists.php.net to get a copy of this message | ||
On Sun, Nov 20, 2011 at 4:44 PM, Tommy Pham <tommyhp2@gmail.com> wrote:
> On Sun, Nov 20, 2011 at 1:34 PM, Tim Streater <tim@clothears.org.uk> wrote:
>> On 20 Nov 2011 at 10:36, Tommy Pham <tommyhp2@gmail.com> wrote:
>>
>> And here's another question. Can a child forked by pcntl_fork() use a socket that the
>> parent obtained? Reading the socket stuff in the PHP doc, there are a number of user-supplied notes
>> hinting this might be problematic.
>>
>> --
>> Cheers -- Tim
>>
>
Forgot to address this in my previous e-mail because I was cooking
while trying to read/reply my e-mails. Anyway, if I'm not mistaken,
what you're trying to do is making a threaded application. PHP does
not support threads currently. PHP and threads has been a heated
discussion on this list in the past. You're welcome to search the
archives. [1]
HTH,
Tommy
[1] http://marc.info/?l=php-general