Re: passing resources from one script to another
| From: | Ian Firla | Date: | Thu, 11 Nov 2004 14:54:54 +0000 |
| Subject: | Re: passing resources from one script to another | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201770@lists.php.net to get a copy of this message | ||
Thanks Greg.
That is what I'm doing.
The problem remains passing a resource to the script executed by exec.
Ian
On Thu, 2004-11-11 at 08:45 -0600, Greg Donald wrote:
> On Thu, 11 Nov 2004 15:15:56 +0100, Ian Firla <ifirla@aegissrl.it> wrote:
> > The problem is the dialogue with the client. If I enter into a while
> > loop then the whole script remains occupied and cannot accept new
> > connections.
>
> PHP doesn't have threads.. and that's what you would need to accept
> more than a single connection at once. You can simulate thread
> functionality to a degree using the PHP execution functions here:
>
> http://www.php.net/manual/en/ref.exec.php
>
>
> --
> Greg Donald
> Zend Certified Engineer
> http://gdconsultants.com/
> http://destiney.com/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> F