ODBiC Discussion Board

RE: EXEC return value, Sergey, 12-21-2009

Your server may not allow CGIs to run other programs

by Roger Harris, December 21, 2009 08:38

... or you may need to use the full file system path to get to php.exe, since it's not usually on the standard command directory.

But the work-around would be to invoke PHP through an HTTP request rather than run it directly. To do that, use HTTPGET (or HTTPPOST if you need to send a lot of data), giving the same URL to your own server that you would use to invoke the script from the net. The response from the request will be output directly to the ODB script's current output.


Post Your Reply:

E-mail  optional

HTTP Link: 
Link text: 


Copyright ©1997-2003, Roger Harris. All rights reserved.