24, July 2008

PHP Whois aa_.com is free? - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  PHP Whois script (Moderator: Olaf)
Topic: PHP Whois aa_.com is free?
« previous next »
Pages: [1] Print

Author Topic: PHP Whois aa_.com is free?  (Read 1079 times)
Google dot what?
*
Posts: 2
22 credits
Members referred : 0


« on: Jul 22, 2006, 11:14:56 AM »

With domain "aa_", result is "The domain name: aa_.com is free.".

Regards.
« Last Edit: Jul 22, 2006, 02:08:44 PM by olaf »
Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #1 on: Jul 22, 2006, 11:38:35 AM »

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 Wink

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;
}
}
« Last Edit: Jul 22, 2006, 09:26:08 PM by olaf »


Last blog : 4th of July Lottery from TemplateMonster.com
Google dot what?
*
Posts: 2
22 credits
Members referred : 0


Re: PHP Whois script (version 1.21) - new bug
« Reply #2 on: Jul 22, 2006, 12:20:22 PM »

You got it man.

Thank you.
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3366
Tags : php domains whois Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  PHP Whois script (Moderator: Olaf)
Topic: PHP Whois aa_.com is free?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jul 24, 2008, 11:16:07 AM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 35.712
Total Topics: 7.376
Total Members: 3.706
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: FortuneBeach

38 Guests, 5 Users online :

12 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.