Forum Moderators: coopster
shell_exec
[php.net...]
works exactly like command prompt's shell command then you ll be easily able to send command line parameter to any executable and then in that executable you can capture it
like
shell_exec("DisplayName.exe Yourname");
however i niether have tested this method nor i can gaurantee that it ll work. all i can say is, it should.
I have A .exe file created by a college
This sends an email when you do something in cmd like
C:\mail2.exe /H:smtp.yourhost.com /:f myemail@yourhost.com /:t hisemail@yourhost.com
/:l the body of the mail wich should be editable in php so you could autogenerate a message...
understand now?
Warning: shell_exec() [function.shell-exec]: Unable to execute 'd:\mail2_order\mail2_man_bverhoev.exe' in D:\Fluke_Mambo\exetest.php on line 2
when i try it on the rule i want to run and when i try to launch a .exe does this have anytin to do with IIS