Posted by Sanders Kaufman on 11/06/07 17:48
"Ravi" <Ravindrayepuri@gmail.com> wrote in message
news:1194343925.644364.209200@v29g2000prd.googlegroups.com...
> Hi to all,
>
> There is a start button in my page. if user clicks on that then a php
> program should start and should listen on a particular port. and also
> user should able to do other tasks on that page.
>
> Is there any way to run php file as background process. Or is there
> any to run multi thread in php.
It sounds like you're a skilled programmer... but in some other language.
So this should help:
You can't run a PHP page as a true "background process"... anymore than you
can Javascript or VBScript.
To do what you (vaguely) described, you probably need to create your process
as a client-side program, either as an ActiveX/Java applett or as a (perhaps
hidden) pop-up web page.
Navigation:
[Reply to this message]
|