|
Posted by shimmyshack on 05/07/07 17:47
On May 7, 3:27 pm, vol30w60 <vol30...@yahoo.com> wrote:
> venkat.mu...@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);
>
> ?>
you can also register a php scripts as a service, and start that.
Navigation:
[Reply to this message]
|