Actually, cgi.remote_addr gives you the IP of the client making the request
not the server IP as Les is looking for. The only way to get the IP is if
the IP appears in the URL instead of the server name or using a Java class
to translate.

http://localhost/test.cfm  yields localhost
http://127.0.0.1/test.cfm yields 127.0.0.1

Mike



> From: Larry Juncker [mailto:[EMAIL PROTECTED] 
> No....
> If you want to see the IP Address you type in #CGI.REMOTE_ADDR#

> From: Les Mizzell [mailto:[EMAIL PROTECTED]
> Is there any way to get #CGI.SERVER_NAME# to display the IP 
> address instead of the name (www.mysite.com)





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220191
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to