I just added the following line. Of course this WILL NOT help with the
.com.com or anything like that...
under sub lookup {
after it defines $domain
I added:
$domain =~ s/^http\:\/\///; #Kill http://
$domain =~ s/^www\.//; # Kill www.
First it checks if they entered http:// then it will kill that.
then in case they did not enter http:// but DID enter www. it checks for
and kills that. If they just put wwwdomain.com it won't touch it,
but if they put the . behind the www it will kill it, and just check for the
domain.
I use it, and it works.
I DON'T have one for if they search for .com.com
Thanks
Richard.
http://www.firstratehosting.com/indexx.cgi "Your Host With the Most!"
http://register.firstratehosting.com/cgi-bin/index.cgi Register your Domain
with prices starting at ONLY $8.50 Per Year!
https://www.firstratehosting.com/register/cgi-bin/name.cgi Pre-Register your
.name domain TODAY!
----- Original Message -----
From: "Charles Daminato" <[EMAIL PROTECTED]>
To: "Eric Paynter" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, March 01, 2002 11:05 PM
Subject: Re: searching for TLDs incorrectly
> The registration will fail at the end (when the registration goes to the
> registry), hence the need to prevent this at the lookup stage.
>
> We're working with the suppliers to give an appropriate error message for
> a lookup, and trying to sort out a way to get the server to catch this
> (without losing the significant lookup speeds that we gained by bypassing
> syntax checking)
>
> Charles Daminato
> TUCOWS Product Manager
> [EMAIL PROTECTED]
>
> On Fri, 1 Mar 2002, Eric Paynter wrote:
>
> > Charles Daminato writes:
> >
> > > We recently made some changes server side to improve lookup speeds.
> > > Unforutnately, this also means that we're not checking syntax on
lookups
> > > quite properly (i.e. if you lookup www.tucows.com, it will return
available,
> > > even though tucows.com is taken).
> >
> > Will a registration attempt fail at the end? How far does the customer
get
> > before they find out the domain is taken?
> >
> > -Eric P.
> >
> > --
> > arctic bears - email and name services
> > 25 email addresses@yourdomain CA$11.95/month
> > DNS starting at CA$3.49/month - domains from CA$25.95/year
> > for details contact [EMAIL PROTECTED] or visit
http://www.arcticbears.com
> >
> >
>
>
>