You are here: Re: Run PHP-Script in Background « PHP Programming Language « IT news, forums, messages
Re: Run PHP-Script in Background

Posted by NC on 11/15/87 11:26

Thomas wrote:
>
> I am using php 5.0.4 under IIS 6 under Windows Server 2003 and want to
> run a php-script as a separate process. This schript dies not have any
> output. I tried several variants without success:
>
> exec("c/php5/php.exe path/to/script parameters &") will run the schript
> but will wait until the schript finished processing.

This is not Unix; "&" does not work here. Try this:

exec('start c:/php5/php.exe path/to/script parameters');

For more information, type "help start" at your Windows command
prompt.

Cheers,
NC

 

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

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