Executing an external program
Posted: Fri Jun 07, 2002 2:56 am
Hello,
I'm running under Windows 2000 and I can't execute external programs on my server from PHP, only system commands can be excuted.
A command like this runs:
But this command doesn't run:
Can anyone explain me why?
Thanks.
I'm running under Windows 2000 and I can't execute external programs on my server from PHP, only system commands can be excuted.
A command like this runs:
Code: Select all
exec("dir *.exe");Code: Select all
exec("pkunzip test.zip"); //(I' m in the right directory)Thanks.