cgi globals
Michael Kann
mikekann at yahoo.com
Thu Feb 20 16:52:01 EST 2003
These are the variables that I get from my ISP's
server.
Apache Environment
Variable Name is in CAPS
DOCUMENT_ROOT /home/mikekann/public_html/eatwhat/
HTTP_ACCEPT application/vnd.ms-powerpoint,
application/vnd.ms-excel, application/msword,
image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
*/*
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE en-us
HTTP_CONNECTION Keep-Alive
HTTP_HOST www.eatwhatieat.com
HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 5.0;
Windows 98; DigExt; YComp 5.0.0.0)
PATH /usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
REMOTE_ADDR xxxxxx
REMOTE_PORT 1207
SCRIPT_FILENAME
/home/mikekann/public_html/eatwhat/info.php
SERVER_ADDR xxxxx
SERVER_ADMIN webmaster at eatwhatieat.com
SERVER_NAME eatwhatieat.com
SERVER_PORT 80
SERVER_SIGNATURE <ADDRESS>Apache/1.3.23 Server at
eatwhatieat.com Port 80</ADDRESS>
SERVER_SOFTWARE Apache/1.3.23 (Unix) PHP/4.1.1
UNIQUE_ID xxxxxxxx
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /info.php
SCRIPT_NAME /info.php
--- "J. Landman Gay" <jacque at hyperactivesw.com> wrote:
> On 2/20/03 5:00 AM, jbv wrote:
> >
> > Where can I find a complete list of all globals
> > available via a cgi script (such as
> $REQUEST_METHOD or
> > $CONTENT_LENGTH) ?
>
> The easiest way is to run the "echo.mt" script,
> which you can find at
> the MC ftp site. This is a cgi test script so you
> will need to have your
> server set up for it. The script gets all the
> available globals and then
> returns the list to your browser.
>
> I have found that the available globals can vary
> depending on the
> server. I can't get some globals now that I used to
> have access to with
> a different ISP.
>
> --
> Jacqueline Landman Gay |
> jacque at hyperactivesw.com
> HyperActive Software |
> http://www.hyperactivesw.com
>
> _______________________________________________
> metacard mailing list
> metacard at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/metacard
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
More information about the metacard
mailing list