RE: How does ODBscript detects if it was invoked from DOS-shell or form CGI, indi, 05-18-2006
It looks for the request method environment variable
by Roger Harris, May 18, 2006 12:23
If there is no REQUEST_METHOD environment variable, OR if there are some command line arguments and the first one is "-i" (input script), the ODBscript uses the command line input instead of looking for CGI input. So, if you are passing arguments and the first one is "-i", it should work anyway, but if you delete the REQUEST_METHOD variable, it should work regardless of the command line arguments.
Name E-mail optional TopicMessage:
HTTP Link: Link text: