RE: [PHP-WIN] launching apps from PHP via COM
| From: | alain samoun | Date: | Fri, 03 Nov 2000 19:13:47 +0000 |
| Subject: | RE: [PHP-WIN] launching apps from PHP via COM | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3674@lists.php.net to get a copy of this message | ||
Try:
<?PHP
exec("start \"C:\\Path2yourapp.exe\"");
#Works with win98 Appache as cgi php4.03 localhost
#Note: This will start the app, but you will have to end the php script
manually.
?>
Message from Alain Samoun
alain@samoun.com
HEAR ME>> http://pagoo.com/signature/alain
-----Original Message-----
From: Tim [mailto:tchemaly@ing.sun.ac.za]
Sent: Friday, November 03, 2000 4:09 AM
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] launching apps from PHP via COM
It does not do anything???? From your code $word is just a string. How can
that launch an APP?
""Michael Guilhermet"" <michael@h3d.com> wrote in message
news:8tu0tv$d3v$1@toye.p.sourceforge.net...
> hello, try
>
> <?
> $word =
word.exe;
> ?>
>
> mike
>
> ""Tim"" <tchemaly@ing.sun.ac.za> a écrit dans le message news:
> 005201c04518$331dda60$6493e892@tim...
> > Hi
> > Does anyone know how I can launch an app via COM and PREVENT it from
> > terminating when the PHP script terminates?
> >
> > I've got this:
> > <?php
> >
> > $ins = new COM("word.application");
> >
> > ?>
> >
> > But the program (Word) terminates when the script ends. How can I launch
> > APPS from PHP?
> > Thanks
> > Tim
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-windows-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net