Page 1 of 4 123 ... Last
  • Jump to page:
    #1
  1. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    non-result


    So how do you make it say something intelligent if the name you query is available?
  2. #2
  3. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: non-result


    In the case of .com/.net/.org,
    <br>
    the $result->regyinfo and $result->rawdata
    <br>
    arrays will be empty.
    <br>
    <br>
    Keep in mind whois on it's own isn't enough
    <br>
    to 100% discern if a domain is available
    <br>
    or not because "on hold" domains can
    <br>
    be dropped from whois yet be unavailable
    <br>
    to register for up to 5 days. Also,
    <br>
    the whois servers can lag behind the root
    <br>
    servers for up to 2 days. This is why
    <br>
    the utils.whois class has a simple
    <br>
    dns_lookup() which returns true if the
    <br>
    domain has NS rr's defined (and is thus
    <br>
    in the roots)
    <br>
    <br>
    For other TLD's we'll have to figure it
    <br>
    out in the extended handlers.
    <br>
    <br>
    <br>
  4. #3
  5. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    display nice data if it is avalible


    I pretty much had the same problem while developing http://test.simplehq.com/easydots (over 200 countrys supported) to get around this I did it a crude way.

    I check for a domain name that was not taking, counted the characters in the message then had a simple loop
    if $result != totalnonmessage
    {
    avalibe
    }
    else
    {
    its not
    }

    This works sweet unless they change the not found message!!

    Im currently using the whois2 code and merging it with own system (which handles prices and the like), who know I may even post it one time!!!
  6. #4
  7. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Christmas Islands


    Hi

    Do you know that Christmas Islands (cx) does not work, you have it supported in you class though.

    I cant get it to work with my code either.

    Any ideas why not?
  8. #5
  9. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    mistake


    Its me again

    just noticed a mistake with your mx search you need to update the server to whois.nic.mx, i think you made a typo, we all do!!!
  10. #6
  11. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: mistake


    It's fixed now, thanks. (FYI, the original
    <br>
    list of whois servers was derived from
    <br>
    Richard J Sexton's multi whois client,
    <br>
    http://dns.vrx.net/tech/rootzone/)
    <br>
  12. #7
  13. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Christmas Islands


    the .cx whois server seems to simply "hang"
    <br>
    when queried and has been doing so for
    <br>
    weeks at least.
    <br>
    <br>
    I was thinking of adding a "hack" for this
    <br>
    that would simply not bother and push an
    <br>
    error onto errstr[] a la "the .cx whois
    <br>
    server is broken" which could then be
    <br>
    turned off when it finally gets fixed.
    <br>
    <br>
    Maybe I'll do that now.
  14. #8
  15. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Christmas Islands


    Ok after emailing them they say that they do not have a whois gateway running although they plan to have it in the next 2 weeks
  16. #9
  17. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: mistake


    I have a list here over about 250 whois servers, If its any use to you it yours
  18. #10
  19. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: mistake


    Sure, send it over and I'll merge it
    in.
  20. #11
  21. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: mistake


    Ok its on its way, Ill also send it you the way I have done it, although itll be like you using a club to go hunting (you have a machine gun at the moment) :)
  22. #12
  23. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Error?


    Hi,

    I have just tried running this set of PHP scripts, but came up with an error. The code I tried was straight from the FAQ, which was:


    <!-- Code -->
    <p><pre><font color=#008000><xmp>
    include( "main.whois");
    $whois = new Whois("test.com");
    $result = $whois->Lookup();

    if(empty($result->regyinfo)) {
    // available
    } else {
    // taken
    }
    </xmp></font></pre><p>
    <!-- Code -->


    and this came up with the following error:


    Fatal error: Call to unsupported or undefined function preg_replace() in netsol.whois on line 36
  24. #13
  25. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Error?


    Error in the FAQ, that should read,
    $result["regyinfo"]
  26. #14
  27. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Help


    09/01/2000

    hi i am total newbie & still trying to learn php. Can anyone help on how to setup the whois script for use on a website. I tried a few things from the faq & the readme & got nothing.

    Thanks in advance


    Kassim

  28. #15
  29. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    New Domains


    Hi people

    I was wondering if anyone knew of a way to make a query a whois gateway and make it return all new domain names (say in last day).

    If anyone knows this would be a great help.

    Thanks

    Chris
Page 1 of 4 123 ... Last
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo