I've been given the task of creating a simple utility to help a company keep track of its 200 or so domain names. I've made a MySQL database for the job and a PHP page to nicely sort and display the data. Now I just need to populate the database with the domain names, their registration and expiration dates, the registrar, etc... but data entry is just not my favorite thing to do. So what I want to do is write a script which will take a list of domain names and query a whois database to get the rest of the information for me. This tool will be kept around so that updates to this database won't be a hassle.
I've seen some "check if your domain name is available" scripts, but I haven't seen anything that extracts the registration/expiration dates. Is this information even returned in the WHOIS data? Can anyone point me in the right direction on this?
Thanks,
Keegan