Just the OPENSRS_TLDS_REGEX will do, and you might want to dig around
(can't find it myself at the moment, but I know it's around somewhere) for
the reg_exp required for the phone number.  It's basically like this:

This is the regexp to validate the phone number for .info:

if ( $phone !~ /^\+\d{1,3}\.\d{1,12}(x\d{1,4})?$/ )
  {
  # do something to tell the registrant about the bad phone number
  # return "phone number has to be in a +1.4165551122x1234 format.\n";
  }

Resellers can enter this in OpenSRS::XML_Client::validate() with an "if
.info" wrapped around it.

Charles Daminato
TUCOWS Product Manager
[EMAIL PROTECTED]

On Mon, 5 Nov 2001, Bryan Waters wrote:

> How do I integrate the .info domain into my site?  I have seen it mentioned
> several times that the reg_system.info.cgi is no longer used and that
> everything goes through reg_system.cgi...do I just change the
> OPENSRS_TLDS_REGEX?
>
> -bryanw
> HalfPriceNames Domain Registry
> http://www.halfpricenames.com/
>
>

Reply via email to