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 PROTECTED]...
> 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 running as a module on win 2k!
>
> a ) before reinstalling apache as cgi-version: do you have any idea if
this
> is true?
> b) or do i have to configure apache (httpd.conf) and/or php.ini with
special
> parameters?
>
> by the way: any html and/or php coded webpages are running without
problems
> on my installed localhost!
>
> regards
> Rainer
>
> "Ross Fleming" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > 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

Reply via email to