Solved

How to detect CLI/ISAPI/CGI modes.

Posted on 2003-11-28
1
294 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:RQuadling
1 Comment
 
LVL 6

Accepted Solution

by:
aolXFT earned 50 total points
ID: 9842602
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
mysql Encryption with PHP 8 51
Not needed 13 57
wordpress issue 2 22
PHP json decode 9 20
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

759 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now