Hi,
I am using PHP 5.2.5 and IIS 5.1 on Windows XP SP3 machine. I am trying to execute an exe by using exec or system command.
When I run this php script from the command line it works fine without any problem.
When I try to run the script from IE7 the exe is crashing,
sample code:
I got that uuencode code from uuencode.
What will be the reason for crashing???
If everything works well I have to put this on window 2003 server.
I am using PHP 5.2.5 and IIS 5.1 on Windows XP SP3 machine. I am trying to execute an exe by using exec or system command.
When I run this php script from the command line it works fine without any problem.
When I try to run the script from IE7 the exe is crashing,
sample code:
Code:
<?php exec("C:\\temp\\uudecode.exe c:\\temp\\test.txt");//or system("cmd.exe /c C:\\temp\\uudecode.exe c:\\temp\\test.txt"); ?>
What will be the reason for crashing???
If everything works well I have to put this on window 2003 server.
Comment