you dont need that one any longer, as it was used for the
pre-reg/landrush/sunrise period ( sorry, ive forgotten which term they
used )
you can register .info domains straight through the reg_system.cgi . you
will want to check the archives for some .info specific tweaks to make it
catch the phone numbers etc....

PSSS: you may want to add this to the XML_Client.pm


replace:

unless (OpenSRS::Syntax::PhoneSyntax($data->{"${type}_phone"})) {
    $problem_fields{"$contact_types{$type} Phone"} =
$data->{"${type}_phone"} . " - ERROR";
}

with

if ( $data->{domain} =~ /\.info/ ) {
    if ( $data->{"${type}_phone"} !~ /^\+\d{1,3}\.\d{1,12}(x\d{1,4})?$/ )
{
        # do something to tell the registrant about the bad phone number
        $problem_fields{"$contact_types{$type} Phone"} =
$data->{"${type}_phone"} . " - ERROR - Format must be +1.4165551212";
    }
    if ( $data->{"${type}_fax"} !~ /^\+\d{1,3}\.\d{1,12}(x\d{1,4})?$/ ) {
        # do something to tell the registrant about the bad phone number
        $problem_fields{"$contact_types{$type} Fax"} =
$data->{"${type}_fax"} . " - ERROR - Format must be +1.4165551212";
    }
} else {
    unless (OpenSRS::Syntax::PhoneSyntax($data->{"${type}_phone"})) {
        $problem_fields{"$contact_types{$type} Phone"} =
$data->{"${type}_phone"} . " - ERROR";
    }
}

( id like to thank an unnamed dev type feller for this snippet of code :)


On Mon, 29 Oct 2001, Andri Darmawan wrote:

>  discuss-list,
>
>
>   I have reg_system.info.cgi script here
>   everything is OK until I found
>
> Missing mandatory ASCII trademark name
> Missing mandatory trademark registration number
>
> i have tried to fill the two fields, but it didn't work.
> what should i do ?
>
> the message is
> Registration Error
> The error which occurred was:
> Error occured while was trying to process your order:Invalid data
>
> by the way, the version is 4.1
>
> TIA
>
> --
> Best regards,
>  Andri                          mailto:[EMAIL PROTECTED]
>
>

---------------------------------------
-erol M

Reply via email to