12-22-2007, 08:04 PM
|
#5 (permalink)
|
|
The Addict
Join Date: Nov 2007
Posts: 264
Thanks: 2
|
hm, well I tried it and be damned the domain bit didn't work, but I kept changing my regex and eregi wouldn't spit out that I'm right so I changed to preg_match() and use a different regex and got it I'll leave it to you to edit it
PHP Code:
preg_match('/[a-zA-Z0-9]\\.[a-zA-Z]{2,6}/Us',$_POST['domain'])
|
|
|
|