• 03-07-2006, 18:12:38
    #1
    Üyeliği durduruldu
    <% 
    If  request.form("domain")<>""  then  
     GotothisURL = "http://www." & request.form("domain") 
    
      Set  GetConnection = CreateObject("Microsoft.XMLHTTP") 
    
     GetConnection.Open "get", GotothisURL,  False  
    on error resume  next  
     GetConnection.Send  
    
     ResponsePage = GetConnection.getResponseHeader("Date") 
    
    if  ResponsePage=""  then   
    Response.write("Domain kullanımda değil") 
    else  
    Response.write("Domain alınmış(kullanımda)") 
    end  if 
    
    Set  GetConnection =  Nothing  
    
    else  
    %> 
    <form method=post action=<% =request.servervariables("URL") %>> 
    <input type=text name=domain size=15 value="domain.com"> 
    <input type=submit value="Find domain name"> 
    </form> 
    <%  end  if %>

    Domainin kullanimda olup olmadigini sorgulayan kod örnegi
  • 15-09-2007, 03:37:15
    #2
    Üyeliği durduruldu
    Eğer domain kayıtlı fakat site yoksa hiç bi işe yaramaz