Solved

How to detect CLI/ISAPI/CGI modes.

Posted on 2003-11-28
1
313 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
[X]
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
1 Comment
 
LVL 6

Accepted Solution

by:
aolXFT earned 50 total points
ID: 9842602
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to dynamically set the form action using jQuery.
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…

691 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