Reply to Re: Calling application (.exe) from PHP on XP

Your name:

Reply:


Posted by Gerry Vandermaesen on 04/11/06 13:57

Maybe this passage in the exec() manual contains your answer?

Note: If you start a program using this function and want to leave it
running in the background, you have to make sure that the output of
that program is redirected to a file or some other output stream or
else PHP will hang until the execution of the program ends.


Mike Youell wrote:
> Hi,
>
> I am trying to call an application from php. I have tried exec() and
> system() and even popen() all to no avail.
>
>
> Can an application be called if it brings up a window? The app I am
> calling has a command line interface, but it insists on bringing up
> it's standard window also.
>
>
> At the moment the .exe file displays in Windows Task Manager in the
> Processes tab.
>
> The PHP script hangs (until timeout) and the .exe doesn't do the job it
> should.
>
> I am probably being daft :o)
>
> Thanks in advance for any help or tips,
> Mike Youell.

[Back to original 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

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