Re: how to run extern program in php?
| From: | Todd WIlliamsen | Date: | Fri, 15 Feb 2002 04:31:03 +0000 |
| Subject: | Re: how to run extern program in php? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12099@lists.php.net to get a copy of this message | ||
try this:
exec(getenc("COMSPEC"). "c:\path\to\.exe\file");
"ÆÄ¶ûÀÚÀü°Å" <sjlee@airi.co.kr> wrote in message
news:20020215003214.63264.qmail@pb1.pair.com...
> Hello there!
>
> Does anyone know about how to run extern program in php?
> (windows,apache,php)
>
> I tried it using exec(), system() etc.... functions
> but unfortunally it did't work well.
>
> here is my test code
> => exec(getenv("COMSPEC")." /C run.exe");
>
> Thanks in advance.
> ----------------------------------------
> suk-joeng
>
>
>