Sublime directory Surf the web anonymous Pagerank Monitor


PHP Whois aa_.com is free?

Kaka
Sat 22 July 2006, 11:14 am GMT +0300
With domain "aa_", result is "The domain name: aa_.com is free.".

Regards.

olaf
Sat 22 July 2006, 11:38 am GMT +0300
With domain "aa_", result is "The domain name: aa_.com is free.".

Regards.

don't think there is a real bug since the underscore is not valid inside a domain name ;)

But I optimized the regex pattern a little bit:
Code:
<?php
function 
check_entry() {
if (preg_match("/^([a-z0-9]+(\-?[a-z0-9]*)){2,63}$/i"$this->domain)) {
return true;
} else {
return false;
}
}

Kaka
Sat 22 July 2006, 12:20 pm GMT +0300
You got it man.

Thank you.

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional