>From the online version of the manual:

"For users of PHP4 & Apache on Windows2000/XP:

If you're trying to execute a command-line application from PHP that has to
show a (console) window on your desktop, make sure you enable the option to
'allow service to interact with desktop' in de service properties of Apache.
(See your Windows services)

CAUTION: This can lead to security problems if your setting up a publicly
available webserver!"

HTH,

Mikey

> -----Original Message-----
> From: Marcus Haase [mailto:[EMAIL PROTECTED]
> Sent: 12 June 2003 12:21
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re: Can't get exec() to work
>
>
> I would suggest, that system() is only valid for command-line
> applications, calc.exe is a GUI-Application, so it won't work.
>
> Please, somebody correct me if I'm wrong, this is just what I experienced.
>
>
> Bill Szerdy wrote:
> > I am running Windows 2000 sp3, IIS5.0, PHP v4.3.2
> >
> > I can't get anything to execute from the exec() function calling from a
> > webpage but I can get it to work from command line.
> >
> > I have granted permissions to cmd.exe, copied cmd.exe to my php
> directory as
> > well as made sure safe_mode was off.
> >
> > When I call exec("calc.exe") from a webpage the page hangs
> indefinitly until
> > I kill the process.
> >
> > Any help would be appreciated
> >
> >
>
>
> --
> 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