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@xxxxxxxxxxx> 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php