google recommends that you use the user agent property to detect their bots...
http://www.google.com/webmasters/bot.html cgi.HTTP_USER_AGENT -----Original Message----- From: Paul Stewart [mailto:[EMAIL PROTECTED] Sent: 10 October 2005 13:31 To: CF-Talk Subject: Re: #CGI.SERVER_NAME# to display IP great thanks, and not everybody uses an isp for their net connetion. i.e. search engine robots. Paul Stewart Site Developer [EMAIL PROTECTED] www.whichfranchise.com ----- Original Message ----- From: "Kerry" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Monday, October 10, 2005 1:10 PM Subject: RE: #CGI.SERVER_NAME# to display IP > If the ISP is what you want to get, then this should do it. > > <cfscript> > iaclass=CreateObject("java", "java.net.InetAddress"); > addresses = iaclass.getAllByName(cgi.REMOTE_ADDR); > for (i=1; i lte arraylen(addresses); i=i+1) > { > hostname = addresses[i].getHostName(); > writeoutput( hostname &"<br>"); > } > </cfscript> > > -----Original Message----- > From: Paul Stewart [mailto:[EMAIL PROTECTED] > Sent: 10 October 2005 11:59 > To: CF-Talk > Subject: Re: #CGI.SERVER_NAME# to display IP > > > yeah will see that remote_ip addr PHP has a function that converts that to > a > server name i.e. googlebot(whatever). Does coldfusion / java have a > similar > function / method? is that ok big man? > > Paul Stewart > Site Developer > [EMAIL PROTECTED] > www.whichfranchise.com > > ----- Original Message ----- > From: "Kerry" <[EMAIL PROTECTED]> > To: "CF-Talk" <[email protected]> > Sent: Monday, October 10, 2005 10:03 AM > Subject: RE: #CGI.SERVER_NAME# to display IP > > >> what remote server? CGI.REMOTE_ADDR gives you the IP of the client, and >> _you_ are the server? >> >> -----Original Message----- >> From: Paul Stewart [mailto:[EMAIL PROTECTED] >> Sent: 10 October 2005 09:32 >> To: CF-Talk >> Subject: Re: #CGI.SERVER_NAME# to display IP >> >> >> How do you get the name of the remote server, rather than just the IP >> addr? >> When i used PHP to log visits it gave you this? Is there any way to do it >> in >> CF/Java? >> >> Paul Stewart >> Site Developer >> [EMAIL PROTECTED] >> www.whichfranchise.com >> >> ----- Original Message ----- >> From: "Larry Juncker" <[EMAIL PROTECTED]> >> To: "CF-Talk" <[email protected]> >> Sent: Thursday, October 06, 2005 12:11 PM >> Subject: RE: #CGI.SERVER_NAME# to display IP >> >> >>> No.... >>> If you want to see the IP Address you type in #CGI.REMOTE_ADDR# >>> >>> The following webpage will give you a list of the Cold Fusion Variables >>> >>> >> > http://livedocs.macromedia.com/coldfusion/6/CFML_Reference/Expressions5.htm >>> >>> Hope this helps. >>> >>> >>> Larry Juncker >>> President & CEO >>> ALJ Computer Services, LLC >>> 1445 So 27th Street >>> Fort Dodge, IA 50501 >>> Office 515-576-0885 >>> Fax 515-576-8510 >>> Cell 515-571-1826 >>> [EMAIL PROTECTED] >>> >>> -----Original Message----- >>> From: Les Mizzell [mailto:[EMAIL PROTECTED] >>> Sent: Wednesday, October 05, 2005 6:21 PM >>> To: CF-Talk >>> Subject: #CGI.SERVER_NAME# to display IP >>> >>> Is there any way to get #CGI.SERVER_NAME# to display the IP address >>> instead >>> of the name (www.mysite.com) >>> >>> >>> -- >>> ----------- >>> Les Mizzell >>> >>> >>> >>> >> >> >> >> > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220528 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

