try this:
exec(getenc("COMSPEC"). "c:\path\to\.exe\file");
"��������" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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
>
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php