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 Darko on 11/06/07 16:22

On Nov 6, 1:33 pm, Ravi <Ravindrayep...@gmail.com> wrote:
> Hi,
> Thanks for replying. Ya this is my own system. But if it listen any
> commands then the handler should execute the functions of a
> particular object. where object will be created when i start the
> process.
>
> The process is like this
>
> 1. user presses a start button.
> 2. Then i should create an object . For exg obj = new A(); where obj
> will have the user details.
> 3. then one program should run background to listen on a port.
> 4. When it got any response then it should manipulate the object user
> data.
> 5. In the meanwhile user can use the user interface through browser.
>
> If u got any solution plz send me it is very urgent.
>
> Regards,
> Ravindra.

Consider what you were already advised - a daemon program resident in
memory all the time, not on user request. You can also consider using
AJAX on the client side, since going away from the page is equal to
losing every connection with the server for a moment, which is enough
for the server to "forget" about your client, unless some form of
"key" is included in the cookies etc. by which the server can
recognize the client from before.

I think, however, that if you're in a "hurry", that you better
reconsider the whole thing.

 

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

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