You are here: Re: Running php file as a background process « PHP Programming Language « IT news, forums, messages
Re: Running php file as a background process

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация