Re: Re: Help: Validate Domain Name by Regular Express
| From: | Ashley Sheridan | Date: | Tue, 11 Jan 2011 19:00:34 +0000 |
| Subject: | Re: Re: Help: Validate Domain Name by Regular Express | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-310668@lists.php.net to get a copy of this message | ||
On Tue, 2011-01-11 at 17:07 +0100, Michelle Konzack wrote:
> Hello Ashley Sheridan,
>
> Am 2011-01-08 17:09:27, hacktest Du folgendes herunter:
> > Also, each label is checked to ensure it doesn't run over 63 characters,
> > and the whole thing isn't over 253 characters. Lastly, each label is
> > checked to ensure it doesn't completely consist of digits.
>
> Do you know, that there are MANY domains with numbers only?
>
> Like <163.com> or <126.net> which are legal names.
>
> Oh I should mention that I block ANY mails from this two domains since
> chinese spamers use it excessively.
>
> Thanks, Greetings and nice Day/Evening
> Michelle Konzack
>
I just based the code on the spec.
Thanks,
Ash
http://www.ashleysheridan.co.uk