Get Domain Name Expiration Date (php)

Hi E's, with network function checkdnsrr I can see if the domain exists.
I'd like to know if have any way in php for take the Expiration Date of domains.
If php cant do, do you know any API?

Regards, JC
LVL 4
Pedro ChagasWebmasterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jericotolentinoCommented:
Hi JC,

This might not be the most efficient way to do it, but I'd try parsing the output of the shell command whois (on Linux, you might have to install something extra if you're testing on Windows). I've never done anything like it, but it should work.
0
Pedro ChagasWebmasterAuthor Commented:
Hi, I discover phpwhois-4.1.3, its a great script, and give all informations about domains, also country domains.
You can take here:http://sourceforge.net/projects/phpwhois/

Regards, JC
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.