Results 1 to 14 of 14
  1. #1
    Join Date
    Oct 2006
    Posts
    59

    Is there anyway i can just get the expiry date of the domain? in the whois?

    i understand that if you do whois..
    you will get the whois output but is there anyway to get just the expiry date onli?

    can anyone advise?

  2. #2
    Join Date
    Jul 2002
    Location
    Toronto
    Posts
    3,797
    Yes, the expiry date IS in the whois output. Sometimes it gets tricky (e.g. when the name is not renewed), but most of the time it's quite plain and straight.
    Co-Founder @HostHideout. Profoundly influenced by #Bauhaus, @Nameslave unrepentantly embraces #Minimalism with a bias for functionality, color theory and pixel precision: a #multimedia messenger in the McLuhan sense. His totally irrelevant M.Ed. dissertation examines Organizational Culture and Change Management. He also likes Patrik Ervell, Wong Kar-wai and IKEA.

  3. #3
    Join Date
    Oct 2006
    Posts
    59
    but i am asking is there anyway that i can just extract the expiry date out of the whois output?

  4. #4
    Join Date
    Aug 2005
    Location
    a planet
    Posts
    20
    The .eu whois database doesn't even show an expiry date.
    But i guess when you'ld make a script that does whois lookups, you are in charge of what information will be extracted/stored, from these queries.
    So yes you can extract only the expiry dates with such a script, but the expiry dates must be available in tyhe whois database.
    Where there is honey , there are bees.

  5. #5
    Join Date
    Jun 2005
    Posts
    5,929
    You'd need to write a script rons_rons, and just output the expiry date.
    Signature Under Construction.

  6. #6
    Join Date
    Oct 2006
    Posts
    59
    yes i understand i have to write a script..i once got some php script..but all i can get is the whole whois output

    is there any script which will only get the expiry date of the domain?

  7. #7
    Join Date
    Oct 2006
    Posts
    59
    anyone have any idea?

  8. #8
    Join Date
    Oct 2006
    Posts
    59
    anyone have any idea?

  9. #9
    Join Date
    Jan 2005
    Posts
    142
    You have been given proper advice here, specifically to write a script to parse the data.

    Beyond that, I have two links for you.

    http://www.webhostingtalk.com/rules....0Forum%20Rules

    http://www.rentacoder.com
    The two most common elements in the universe are hydrogen and stupidity.

  10. #10
    Join Date
    Jul 2004
    Location
    Scottsbluff, NE
    Posts
    1,965
    Those are both good forms of advice

    The Forum Rules is to WHT
    As The Linux Bible is to Linux
    $this->hasFlavr() ? $nom->nom('nom') : $want->doNot()

  11. #11
    Join Date
    Oct 2006
    Posts
    59
    ya i understand but is there any sample script for me to refer to?
    or any other additional information/

  12. #12
    Join Date
    Nov 2002
    Posts
    4,667
    There is a free (& simple) PHP script called "Sams WHOIS" that outputs the expiry line in red. Since it identifies & parses out the expiry line you should be able to reprogram to output only the expiry data or just selected data.

  13. #13
    Join Date
    Oct 2006
    Posts
    59
    hey dude thanx a lot realli this is the answer i been looking for

  14. #14
    Join Date
    Jul 2005
    Location
    Mexico
    Posts
    1,762

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •