Here's the complete list that I got. Cut and paste and save for future reference. Save
as (CGI.Variables.cfm).
<cfoutput><br><br>
<DIV ALIGN="left">
<font face="Verdana" size="-2">
<b>CGI VARIABLES:</b><br><br>
ALL_HTTP: <b>#CGI.ALL_HTTP#</b><br>
AUTH_TYPE: <b>#CGI.AUTH_TYPE#</b><br>
CONTENT_LENGTH: <b>#CGI.CONTENT_LENGTH#</b><br>
CONTENT_TYPE: <b>#CGI.CONTENT_TYPE#</b><br>
GATEWAY_INTERFACE: <b>#CGI.GATEWAY_INTERFACE#</b><br>
HTTP_ACCEPT: <b>#CGI.HTTP_ACCEPT#</b><br>
HTTP_REFERER: <b>#CGI.HTTP_REFERER#</b><br>
HTTP_USER_AGENT: <b>#CGI.HTTP_USER_AGENT#</b><br>
PATH_INFO: <b>#CGI.PATH_INFO#</b><br>
PATH_TRANSLATED: <b>#CGI.PATH_TRANSLATED#</b><br>
QUERY_STRING: <b>#CGI.QUERY_STRING#</b><br>
REMOTE_ADDR: <b>#CGI.REMOTE_ADDR#</b><br>
REMOTE_HOST: <b>#CGI.REMOTE_HOST#</b><br>
REMOTE_IDENT: <b>#CGI.REMOTE_IDENT#</b><br>
REMOTE_USER: <b>#CGI.REMOTE_USER#</b><br>
REQUEST_BODY: <b>#CGI.REQUEST_BODY#</b><br>
REQUEST_METHOD: <b>#CGI.REQUEST_METHOD#</b><br>
SCRIPT_NAME: <b>#CGI.SCRIPT_NAME#</b><br>
SERVER_PORT: <b>#CGI.SERVER_PORT#</b><br>
SERVER_PROTOCOL: <b>#CGI.SERVER_PROTOCOL#</b><br>
SERVER_SOFTWARE: <b>#CGI.SERVER_SOFTWARE#</b><br>
</font>
</DIV>
</cfoutput>
Glad to help!
KM
Computer Simplistics Support wrote:
> So the variables are (for example):
>
> #cgi.http_host# for the IP address?
>
> Is there a full list of these somewhere? I have the Que book by Ben Forta
> and it doesn't mention it.. (Web Application Construction: 2nd Edition)..
> maybe in the advanced version?
>
> Scott Berry
> --
> Computer Simplistics Support
> "Simple Solutions for a Complex World"
> http://www.c-s.net
> 661-296-4315
>
> ----- Original Message -----
> From: "Bud" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, April 02, 2000 1:00 PM
> Subject: Re: Newbie / Functions?
>
> > On 4/2/00, Computer Simplistics Support penned:
> > >I was just wondering if CF had a built in function to grab stuff from the
> > >user's system (like IP address, computer name, etc) ... any ideas?
> >
> > All kinds of good stuff. Here is a list of the varaibles available.
> > This is from my local box. It's all the one's that you see at the
> > bottom with debugging turned on. Just make any of them
> > cgi.http_referer, etc.
> >
> > SERVER_PORT=80
> > CONTENT_LENGTH=0
> > SERVER_PORT_SECURE=0
> > HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> image/png, */*
> > HTTP_HOST=192.168.0.5
> > REMOTE_ADDR=192.168.0.2
> > CERT_SERIALNUMBER=
> > CERT_SECRETKEYSIZE=
> > CERT_ISSUER=
> > CONTENT_TYPE=
> > AUTH_PASSWORD=
> > SERVER_PROTOCOL=HTTP/1.0
> > HTTPS_SECRETKEYSIZE=
> > HTTPS=off
> > HTTP_ACCEPT_LANGUAGE=en
> > CERT_SUBJECT=
> > HTTP_ACCEPT_CHARSET=iso-8859-1,*,utf-8
> > HTTPS_KEYSIZE=
> > WEB_SERVER_API=ISAPI
> > CF_TEMPLATE_PATH=C:\Inetpub\wwwroot\search4jobs\new\index.cfm
> > REQUEST_METHOD=GET
> > PATH_INFO=/search4jobs/new/index.cfm
> > HTTP_USER_AGENT=Mozilla/4.7 (Macintosh; I; PPC)
> > REMOTE_HOST=192.168.0.2
> > HTTPS_SERVER_SUBJECT=
> > AUTH_USER=
> > AUTH_TYPE=
> > SERVER_SOFTWARE=Microsoft-IIS/4.0
> > SERVER_NAME=192.168.0.5
> > QUERY_STRING=
> > CERT_SERVER_SUBJECT=
> > CERT_SERVER_ISSUER=
> > HTTP_ACCEPT_ENCODING=gzip
> > SCRIPT_NAME=/search4jobs/new/index.cfm
> > REMOTE_USER=
> > GATEWAY_INTERFACE=CGI/1.1
> > HTTP_COOKIE=CFTOKEN=68637493; CFID=14; MYCOOKIE=test;
> > CPASSWORDPROVIDED=4605563933
> > CERT_KEYSIZE=
> > HTTP_CONNECTION=Keep-Alive
> > PATH_TRANSLATED=C:\Inetpub\wwwroot\search4jobs\new\index.cfm
> > HTTPS_SERVER_ISSUER=
> > CERT_FLAGS=
> > CERT_COOKIE=
> >
> >
> > Bud Schneehagen - Tropical Web Creations
> >
> > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> > ColdFusion Solutions / eCommerce Development
> > [EMAIL PROTECTED]
> > http://www.twcreations.com/
> > 954.721.3452
> > --------------------------------------------------------------------------
> ----
> > Archives: http://www.eGroups.com/list/cf-talk
> > To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
> >
>
> ------------------------------------------------------------------------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
>http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
>message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.