|
Posted by Alexander on 10/12/93 11:31
Hi there,
i am trying to run php(4.3.4) on iis6 (W2k3 Server).
All works perfect except running external programs.
The command system (or exec) starts and works (tried it, and the command is
executed)
but the server returns: CGI Error, CGI-application misbehaved.....
This is the code:
$command="date /T >>c:\\temp\\log.txt";
system ($command);
system ($command);
The actual date is written into the logfile twice, as expected, but no
website is returned.
This cannot be a security problem ??? File is written!
The save code on save machine works perfect using Apache 2.
Any ideas?
Navigation:
[Reply to this message]
|