Richard Quadling
asked on
How to detect CLI/ISAPI/CGI modes.
Hi.
Now, for some reason, I'm stumped.
I would like to know how to detect if a script is running via ISAPI, via CGI or via CLI.
And I KNOW it can be done, but my brain has gone to cheese. Not very nice cheese, but cheese all the same.
So, points (and some cheese maybe) for the answer.
Thanks in advance.
Richard Quadling.
Now, for some reason, I'm stumped.
I would like to know how to detect if a script is running via ISAPI, via CGI or via CLI.
And I KNOW it can be done, but my brain has gone to cheese. Not very nice cheese, but cheese all the same.
So, points (and some cheese maybe) for the answer.
Thanks in advance.
Richard Quadling.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.