May 3rd, 2000, 08:07 AM
Join Date: May 2000
Time spent in forums: < 1 sec
Reputation Power: 0
I desperately try to execute an external perl script from PHP.
$e = /prg/test.pl
exec($e) or exec("$e")
the script is a test script only to see how exec works. it copies a file to an another directory.
The script works on its own, the authorizations are ook we the user of Apache.
PHP is not compiled in safe mode.
exec("whoami") works without any problem.
I got the same problem with system, passthru ...
Does anybody have an idea ,