hi guys. i'm new to php and Apache and i have a problem.
i'm trying to execute an exe file that i have in my folder, and the code i use is
echo exec('test.exe');
i have tried using this with and without the ".exe." and still no luck. i have also tried using a different path
echo exec('C:\Windows\System32\mspaint');
now these codes work when i run them from my php editor(PhpED), bun when i try running it on Apache it gets stuck. (just shows the web page as loading with no end.
please help me out. i'm guessing it something with security.
also if there is any other code i can use please let me know (i have also tried using system)