|
Posted by AnrDaemon on 11/06/07 11:36
Greetings, Ravi.
In reply to Your message dated Tuesday, November 6, 2007, 13:12:05,
> 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.
Ask Your hosting company support staff. Running processes as daemons are
denied by most providers.
Otherwise, if it is Your own computer, You're trying to solve problem
backwardly. Why not write script that listen to specific port and keep
it running in background all day?
(Yes, "listen" is a key word to search through manual)
--
Sincerely Yours, AnrDaemon <anrdaemon@freemail.ru>
[Back to original message]
|