The variable cgi.server_name should contain the domain or host name -
mydomain.com or www.mydomain.com or server.mydomain.com, etc.

----- Original Message -----
From: "Ben Forta" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, March 05, 2004 6:59 AM
Subject: RE: Getting computer name via variables?

> A reverse DNS lookup? There are UDFs for this at www.cflib.org, and tags in
> the latest DRK.
>
> --- Ben
>
>
>   _____
>
> From: Dan O'Keefe [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 05, 2004 7:58 AM
> To: CF-Talk
> Subject: Re: Getting computer name via variables?
>
>
> > Hi,
> >
> > I'm using the below cgi variable to get the ipaddress of the server.
> >
> > <cfset ipaddress = "#CGI.REMOTE_ADDR#">
> >
> > How can I get the computer (server) name or domain?
> >
> >
> >
> >
> Did you ever find an answer to this?
>
> Dan
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to