Re: passing resources from one script to another
| From: | Greg Donald | Date: | Thu, 11 Nov 2004 14:45:16 +0000 |
| Subject: | Re: passing resources from one script to another | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201768@lists.php.net to get a copy of this message | ||
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/