Re: [PHP-WIN] Re: executing an external program

2002-04-29 Thread rainer
hey ross, the code i mentioned in the e-mail before is wrong. i tried. as you suggested: - exec("CMD /C START c:\progra~1\micros~1\office\winword.exe >NUL"); - sorry for this wrong information by mistake. Rainer "Rainer" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL

Re: [PHP-WIN] Re: executing an external program

2002-04-29 Thread rainer
hey ross, your suggested code - exec("COMMAND.COM /C START c:\progra~1\micros~1\office\winword.exe >NUL"); - is trying to do something (starting winword?) without a result. the apache hangs up! i've heard that it makes a difference whether you have installed apache as cgi or as a module. i have it

Re: [PHP-WIN] Re: executing an external program

2002-04-28 Thread RoboTeddy
For win 2k/xp: NUL"); ?> Ted - Original Message - From: "Ross Fleming" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "PHP Windows mailing list" <[EMAIL PROTECTED]> Sent: Sunday, April 28, 2002 7:32 PM Subject: RE: [PHP-WIN] Re: executing an ext

RE: [PHP-WIN] Re: executing an external program

2002-04-28 Thread Ross Fleming
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: NUL"); ?> This opens winword and keeps it running and completes the web page too. If this doesn't work in win2K, maybe

RE: [PHP-WIN] Re: executing an external program

2002-04-28 Thread Ross Fleming
Yes that will indeed run winword on the client machine. Using exec() will run winword on the host machine, which is what I believe Rainer wishes to do. However, it's documented somewhere that the exec() family of functions can't work very well with programs with a GUI, only command line prog