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]
- Re: Getting computer name via variables? Dan O'Keefe
- RE: Getting computer name via variables? Ben Forta
- Re: Getting computer name via variables? Jim McAtee
- Re: Getting computer name via variables? Dan O'Keefe
- RE: Getting computer name via variables? Simon Horwith
- Re: Getting computer name via variables? Dan O'Keefe
- Re: Getting computer name via variables? Lewis Sellers
- RE: Getting computer name via variables? Jim Davis
- Re: Getting computer name via variables? Hugo Ahlenius
- Re: Getting computer name via variables? Dan O'Keefe
- RE: Getting computer name via variables? Philip Arnold
- RE: Getting computer name via variables? Bert Dawson