Link to home
Start Free TrialLog in
Avatar of Richard Quadling
Richard QuadlingFlag for United Kingdom of Great Britain and Northern Ireland

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.
ASKER CERTIFIED SOLUTION
Avatar of aolXFT
aolXFT

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial