Forum Moderators: coopster
This code behaves differently on the 2 machines:
<?php
exec('notepad.exe');
?>
At home, the Notepad window pops up ready for bizness. Close the window,
program terminates, no problem.
However, at work, no program window pops up. Notepad.exe runs as a process in the
background that will not terminate.
Is this a permission settings issue? I have never set any permissions on either machine. Settings in Windows and IBserver installs are default.
I read around on the web that PHP uses cmd.exe, and the correct permissions for cmd.exe have to be set for IUSR_<machine name>. I see NO IUSR_ on either machine!
All users have read and execute permissions. Nothing is check "denied".
(This is for a lan browser based application. No connection to the wicked world web.)
Home and work computers have other apps installed that are different from each other.
Anyway, would appreciate any suggestions to get it to work at work. Or work at work.
Also...I used Beyond Compare to compare my php.ini files on the two machines...no difference!