| executing remote scripts (php etc) |
Posted by
Testuser Testpass
on Tuesday, September 05, 2006 at 3:57:35 AM (EST)
Hi, I'd like to execute a batch file via webserver, but I don't know how to set it up correctly In mapped applications I have created record for .bat Extension (e.g. ".php"): .bat Path to EXE file: C:\WINDOWS\system32\cmd.exe /c %1 Environment variables: (empty) I don't have a clue how to pass the script name to the exe, %1 does not work - what is the replacement for the "current" script And one another question - how do I set up interpretting php scripts? I have same problem as above, php should be executed with \php\php.exe -f whatever.php, but how do I tell to lansuite where to pass the script name (i.e."whatever.php" when I access http://lansuite/whatever.php) Thank you for reply, Jan.
|
Posted by
Robert Smith
on Tuesday, September 05, 2006 at 10:40:32 AM (EST)
PHP knowledge base topic is here: https://secure.software602.com/kb/view.aspx?articleID=635
|
|