executing an external program
| From: | Rainer Bruch | Date: | Sat, 27 Apr 2002 16:45:06 +0000 |
| Subject: | executing an external program | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-13359@lists.php.net to get a copy of this message | ||
i am new in using and understanding php. need help in following issue:
opening (executing) an external program (not a file) like "winword.exe" with
php4.
my system-configuration:
- windows 2000
- php4 1.1.1
- winword execution program-path is:
"c:\programme\micosoft office\office\winword.exe"
please, will somebody out there will help me with the complete php-code
like:
<?
"code to execute the winword-program";
?>
i have asked a so called specialist who gave the following (not functioning,
no error message) code:
<?
shell_exec("c:\programme\microsoft office\office\winword.exe");
?>
thanks to all who will help me
rainer