RE: resolve a hostname
CFOBJECT NAME=addr CLASS=java.net.InetAddress TYPE=java ACTION=create CFSET address=addr.getByName(#CGI.REMOTE_ADDR) Then you have these methods: http://java.sun.com/j2se/1.4.2/docs/api/java/net/InetAddress.html -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:20 AM To: CF-Talk Subject: resolve a hostname Hello, Is there anyway to create a CF script to resolve a user or hostname into an IP address using: #CGI.REMOTE_ADDR# ? Robert HWW -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.14/128 - Release Date: 10/10/2005 ~| 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:220672 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
RE: resolve a hostname
Ben wrote a few UDFs for just this thing. You can find them at http://cflib.org http://cflib.org/udf.cfm?ID=447 http://cflib.org/udf.cfm?ID=446 -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 9:20 AM To: CF-Talk Subject: resolve a hostname Hello, Is there anyway to create a CF script to resolve a user or hostname into an IP address using: #CGI.REMOTE_ADDR# ? Robert HWW -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.14/128 - Release Date: 10/10/2005 ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220680 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: resolve a hostname
does cgi.remote_addr not give you an ip on your system? -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: 11 October 2005 15:20 To: CF-Talk Subject: resolve a hostname Hello, Is there anyway to create a CF script to resolve a user or hostname into an IP address using: #CGI.REMOTE_ADDR# ? Robert HWW -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.14/128 - Release Date: 10/10/2005 ~| 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:220685 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
RE: resolve a hostname
Create an object from java.net.InetAddress and cfdump it. You will find everything you need cfobject class=java.net.InetAddress type=java action=create name=inetaddrclass / cfdump var=#inetaddrclass# / Ps... the class name is case sensitive ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 10:20 AM To: CF-Talk Subject: resolve a hostname Hello, Is there anyway to create a CF script to resolve a user or hostname into an IP address using: #CGI.REMOTE_ADDR# ? Robert HWW -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.14/128 - Release Date: 10/10/2005 ~| 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:220704 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=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54