using exec() function
Posted: Wed Jan 08, 2003 1:50 am
Hi
when i run the following code my system either too slow and nothing coming up in the browser(expect the progress bar moving slowly at the bottom) or my system gets restarted abrubtly..
i donno whats wrong..i am just trying a sample to open up a notepad...
i tried using "c:\windows\notepad.exe" as well as just "notepad" but nothing seems to work..
any idea where i am wrong..
i am using win/php 4/apache 1.3
Shankar
when i run the following code my system either too slow and nothing coming up in the browser(expect the progress bar moving slowly at the bottom) or my system gets restarted abrubtly..
i donno whats wrong..i am just trying a sample to open up a notepad...
Code: Select all
$sCommand = "c:/windows/notepad.exe";
exec($sCommand);any idea where i am wrong..
i am using win/php 4/apache 1.3
Shankar