At 03:04 PM 11/29/2001 -0600, you wrote:
>look for a CFX tag that does everything at a lower level - those cf_whois
>tags just grab the info from NSI's website and parse the output - messy, and
>potentially a legal issue - instead, use something like cfx_nicname:
>http://www.intrafoundation.com/freeware.html#cfx_nicname
Even slightly better, if they're not scared of COM's they can use tcpclient
and talk directly to the whois server (there is an WHOIS protocol just as
there is HTTP and FTP protocols etc.) If you talked directly to it there's
a whole lot of [censored] you don't have to worry about then.
You do unfortunately still have to parse through it but the plus of doing
it in CFM instead of C or C++ (or java) is you don't have to bug me if
there's some radical change to the text format. /-)
This example looks up houseoffusion.com and printed out the returned text....
<h1>HOUSEOFFUSION.COM</h1>
<cfset obj.Clear()>
<cfset c=obj.Open("whois.networksolutions.com","whois")>
<CFIF c IS "1">
<cfset obj.timeout=3.000>
<cfset obj.SendRN("houseoffusion.com")>
<cfset page=obj.Recv()>
<cfoutput>#HTMLCodeFormat(page)#</cfoutput>
<cfset obj.Close()>
</CFIF>
--min
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists