#16
  1. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    How do I change no input reply?


    If there are no characters in the box when submit is pressed I get this:
    Results for :Errors: domain is not supported
    Warning: Illegal string index in /www/vhtdocs/webhappy/index.phtml on line 113
    No Match

    How do I change it so that it says "please enter a domain name" instead?

    Thanks
    Mark

    I am trying out this whois on http://www.webhappy.co.uk.
  2. #17
  3. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Connecting to ports


    I am looking for information on connecting to ports and retrieving the information for a project similar to this. General socket programming in PHP. Does anyone know where I can locate this information?
  4. #18
  5. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: display nice data if it is avalible


    Ok, so how would I pull just one or two things out of the $result object?

    In my case, I just want return the current nameserver info to a variable in PHP - what's the best way to do this?

    Add a function to the utils.whois file, or is there a way to extract what I need from the existing returned object?

    I'm a newbie to OOP, so I'm not so familiar with classes . .. =0(

    Thanks in advance!

    Gavster
  6. #19
  7. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Small program using whois2


    I have written a small domain lookup program in PHP3 using whois2.
    When I finished and it worked I decided that other newbies to PHP might like to look at it.

    This program has no name... it doesn't really deserve one but it can be intergrated into any PHP enabled site easily.

    If you would like a copy of the code then please email me and I will reply to you with a zip file containing it.
  8. #20
  9. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    PHP4


    In the FAQ there a question & answer about rawdata failing in php4, the faq answers this question but what about regrinfo containing no data????
    egyinfo->Array
    domain->DEVSHED.COM
    registrar->NETWORK SOLUTIONS, INC.
    whois->whois.networksolutions.com
    referrer->www.networksolutions.com
    nameserver->Array
    0->NS1.INFOWEST.COM
    1->NS2.INFOWEST.COM
    upadated->05-aug-2000
    rawdata->Array
    rawdata->Array
    0->The Data in Network Solutions' WHOIS database is provided by Network
    1->Solutions for information purposes, and to assist persons in obtaining
    2->information about or related to a domain name registration record.
    3->Network Solutions does not guarantee its accuracy. By submitting a
    4->WHOIS query, you agree that you will use this Data only for lawful
    5->purposes and that, under no circumstances will you use this Data to:
    6->(1) allow, enable, or otherwise support the transmission of mass
    7->unsolicited, commercial advertising or solicitations via e-mail
    8->(spam); or (2) enable high volume, automated, electronic processes
    9->that apply to Network Solutions (or its systems). Network Solutions
    10->reserves the right to modify these terms at any time. By submitting
    11->this query, you agree to abide by this policy.
    12->
    13->Registrant:
    14->InfoWest Global Internet Services, Inc. (DEVSHED-DOM)
    15-> 1845 W. Sunset Blvd.
    16-> St. George, UT 84770
    17-> US
    18->
    19-> Domain Name: DEVSHED.COM
    20->
    21-> Administrative Contact:
    22-> Cosby, David R (DRC4) dcosby@INFOWEST.COM
    23-> 1845 W. Sunset Blvd.
    24-> St. George, UT 84770
    25-> 801.674.0165
    26-> Technical Contact, Zone Contact:
    27-> Gifford, Aaron D (AG44) agifford@INFOWEST.COM
    28-> InfoWest Global Internet Services, Inc.
    29-> 596 E. Tabernacle
    30-> St. George, UT 84770
    31-> 435-674-0165 (801) 634-9567 (FAX) 435-674-9654
    32-> Billing Contact:
    33-> InfoWest Domain Services (IDS2-ORG) dns@INFOWEST.COM
    34-> InfoWest Global Internet Services, Inc.
    35-> 596 E. Tabernacle
    36-> St. George, UT 84770
    37-> US
    38-> 435-674-0165
    39-> Fax- 435-674-9654
    40->
    41-> Record last updated on 06-Aug-1997.
    42-> Record expires on 07-Aug-2000.
    43-> Record created on 06-Aug-1997.
    44-> Database last updated on 8-Aug-2000 19:41:10 EDT.
    45->
    46-> Domain servers in listed order:
    47->
    48-> NS1.INFOWEST.COM 204.17.177.10
    49-> NS2.INFOWEST.COM 204.17.177.20
    50->
    regrinfo->Array
    disclaimer->
    organization->
    org_handle->
    org_address->
    domain->
    admin->Array
    name->
    handle->
    email->
    tech->Array
    name->
    handle->
    email->
    billing->Array
    name->
    handle->
    email->
    updated->
    created->
    db_updated->
    ns->Array
    ->

    Object
  10. #21
  11. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Small program using whois2


    thank you please e-mail small program using whois2
  12. #22
  13. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Small program using whois2


    Whats your email address?
  14. #23
  15. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Small program using whois2


    hi tom;

    please upload to ftp.hostem.com (incoming).

    my email does not take zip files unless they are attachments. if you do not have an ftp and your program is useful, then i will be happy to allow anon ftp downloads from my site......endif
  16. #24
  17. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Small program using whois2


    No probs... I'll do it in the morning from work...
  18. #25
  19. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Small program using whois2


    I've uploaded now.. feel free to offer it on your public ftp if you like.
  20. #26
  21. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Small program using whois2


    thanks ! MUCH BETTER THAN I EXPECTED !

    will be doing mods for a while to U.S. the wording etc.... real easy to read code.

    thanks again !


    http://wordstudy.org
    http://www.hostem.com
  22. #27
  23. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Small program using whois2


    Hi Tom,
    <br>
    I would be very interested in looking at your domain lookup program.
    <br>
    <br>
    Can you please send a copy to hostmaster@netfocus-solutions.net
    <br>
    <br>
    Cheers,
    <br>
    John
  24. #28
  25. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Small program using whois2


    URGENT!!!!

    The version of this program released at the moment has branding to the company that I work for.

    MAIL ME at tom.poole@breathe.com for the new version.

    Sorry for any inconvenience...
  26. #29
  27. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Small program using whois2


    URGENT!!!!

    The version of this program released at the moment has branding to the company that I work for.

    MAIL ME at tom.poole@breathe.com for the new version.

    Sorry for any inconvenience...
  28. #30
  29. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Small program using whois2


    I will like to see some cod about this, specialy of you succed to parse the result of so many whois response type, depends on which database are you asking.
    I really need a good example.

    Best regards

    Robert Ropotan

IMN logo majestic logo threadwatch logo seochat tools logo