If you have your mime type settings set correct in your Internet Explorer,
you just have to do a HTML call to a Winword document to make Winword
integrate with the browser !

The way you are trying now is the most dangerous one, because it can then
too execute other programs remotely !

This is also why most servers have the _exec command turned off....

C vd Veen


"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

Reply via email to