You are here: Re: Staring another application from PHP « PHP Programming Language « IT news, forums, messages
Re: Staring another application from PHP

Posted by vol30w60 on 05/07/07 14:27

venkat.muvva@gmail.com wrote:
> Hi,
>
> I have to start an application from PHP and the application should run
> on its own then onwards.
>
> I have tried with system(), exec() etc... and I am not scuccessul.
>
> Please help me in solving this problem.
>
> Thanks in Advance
> --Venkat
>

If you are using Windows, you probably need to use the PsTools method
noted here:
http://us2.php.net/manual/en/function.exec.php#59428

Once you have PsTools, you can launch an application like this:

<?php

exec('C:\PsTools\psexec.exe -accepteula -d -s notepad.exe 2>&1', $output);

?>

 

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

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