OK, I've just found a way to do it (in the comments for exec() on the php webpage), however I DON'T know if it will work on Win2000, I'll let you try, it works on win98 anyway:
<? exec("COMMAND.COM /C START c:\progra~1\micros~1\office\winword.exe >NUL"); ?> This opens winword and keeps it running and completes the web page too. If this doesn't work in win2K, maybe someone on this list may know an alternative?.. Ross -----Original Message----- From: Rainer Bruch [mailto:[EMAIL PROTECTED]] Sent: 28 April 2002 23:30 To: [EMAIL PROTECTED] Subject: AW: [PHP-WIN] Re: executing an external program hey ross, thanks for your help by sending this e-mail. maybe you have a solution for my problem described below? since you have kindly e-mailed to me i feel free to inform you as following about the the e-mail conversation concerning this matter between mike flynn and myself. if you read this you can find that you are right, the server hangs up! "Rainer Bruch" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php