|
Posted by jamesgoode on 11/08/07 17:00
On Nov 6, 10:12 am, Ravi <Ravindrayep...@gmail.com> wrote:
> 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.
>
> Regards,
> Ravindra.Y
Hi Ravi,
Although it may be possible to write a TCP server with PHP, I would
not recommend it. If it's just a simple server you're trying to
write, try using a better-suited language if possible. I would
recommend Ruby, it is excellent for network programming, and it has
good string and file handling.
Hope this helps,
-James.
[Back to original message]
|