Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to detect CLI/ISAPI/CGI modes.

Posted on 2003-11-28
1
303 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

791 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