hi.. I am doing domain name checker.. Below is the code of tutorial I get from internet. But the result always return not available... Who know what is the problems? Thanks you... <% Dim strURL: strURL = "http://www.7788.com" Dim objXMLConn, strResponse Set objXMLConn = Server.CreateObject("Microsoft.XMLHTTP") objXMLConn.Open "get", strURL, False '| Compensate for errors with this line. On Error Resume Next GetConnection.Send strResponse = objXMLConn.getResponseHeader("Date") If Not IsEmpty(strResponse) Then Response.write(strURL & " is available") Else Response.write(strURL & " is not available") End If Set objXMLConn = Nothing %> Code (markup): Between, to add a domain availability checker to my site is that very hard and required high skill of programming? Because I am fresh in programing, still under training.. Thanks for reply...
You don't want to see if you can get the url, you want to parse records to see if that domain has been registered or not correct? So - you will be doing a screen scrape of data from... maybe register.com's domain checker page? thats the route i'd go.
You could use the Namecheap API, they let you do availability checks and have demo code for how to use it.