Advertisement

08.26.2004 at 09:51AM PDT, ID: 21108568
[x]
Attachment Details

Perl: Domain available/unavailable script

Asked by dr34m3rs in Perl Programming Language

Tags: , , , ,

Need to make a script as easy as the one below, but to check if a domain is available or unavailable.

In other words I want the status of the domain, if it's pending delete, locked, or available. I only need it for .com and .net domains.

#!/usr/bin/perl

# checks the expire date of a domain

use Net::Domain::ExpireDate;

$host = "awebsite.com";

$exp = expire_date( $host, '%m-%d-%Y' );

print "Content-Type: text/html \n\n";

print $exp;


Thank you very much for any help.

Best regards,

Dr34m3rStart Free Trial
[+][-]08.26.2004 at 12:45PM PDT, ID: 11906727

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.27.2004 at 12:54AM PDT, ID: 11910568

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.27.2004 at 02:25AM PDT, ID: 11910990

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.27.2004 at 02:29AM PDT, ID: 11911006

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.27.2004 at 06:53PM PDT, ID: 11918949

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Perl Programming Language
Tags: available, domain, script, perl, unavailable
Sign Up Now!
Solution Provided By: dr34m3rs
Participating Experts: 2
Solution Grade: A
 
 
[+][-]08.28.2004 at 02:26AM PDT, ID: 11920064

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32