vmalli Posted November 10, 2009 Share Posted November 10, 2009 Hello! I am working on a script for a friend. He has an .exe on his server which he wants to be run by his web server (apache/2.2.9 php/5.2.10) I have written all of the script and it works fine, but I am stuck on the shell exec part. The code seems to just skip the line. Basically I want to execute the file with two arguments (from php) C:\useradd\add.exe "$username" "$password" But I just can't seem to format it right for shell_exec to work. Any ideas? Link to comment https://forums.phpfreaks.com/topic/180996-shell_exec-on-windows/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.