Hi, i have windowsxp, apache 2.0.40 and php installed.
the above line would supposed to open the calculator, but it doesn't, please somebody help me?????
exec("c:\windows\system32\calc.exe");
🙁
it works for mee...
i have xp, apache... the version before 2.. and php 4.2.1 i think
your php script will run indefinetely untill you are done with calc program.
update:
the script DOES execute the calculator, but then hangs while waiting for the exec function to end..
use start (in win) or bg (in nix) to make it execute in the background...
you mean like this
exec(" start c:\windows\system32\calc.exe");
system("start c:\windows\system32\calc.exe");
yes.. does it work?
no, it doesn't