trouble with exec() with win2k and IIS
Moderator: General Moderators
trouble with exec() with win2k and IIS
Anyone have experience getting exec() to work on a win2k machine running IIS. I'm doing the following exec('c:\php\php c:\dir\file_name.php" $array). When I type the command portion (c:\php\php c:\dir\file_name.php) at the command line it works fine. But using the exec() command in my script is causing the script to hang. Any suggestions?
I got the backslash characters setup correctly (printed them out to the screen to make sure). As to why I am using exec() instead of include(), this is a project I am doing to help my students learn basic programing skills. The students will type code into a text area, which will be saved to a file and then the file run using exec(). There is a thread discussing the security impliations of what I am doing called (I think) "can PHP call itself?"
However, the include() might still work. I'll test it.
However, the include() might still work. I'll test it.