Solved

How to detect CLI/ISAPI/CGI modes.

Posted on 2003-11-28
1
300 Views
Last Modified: 2008-03-17
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.
0
Comment
Question by:Richard Quadling
1 Comment
 
LVL 6

Accepted Solution

by:
aolXFT earned 50 total points
ID: 9842602
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question