12-20-2007, 10:23 PM
|
#16 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: In my basement
Posts: 386
Thanks: 47
|
Okay, I think I might have had this answered several times... But... How exactly would I compare that stuff? The ereg/eregi function is really confusing O.o.
So sanitize everything with eregi? so like...
Code:
if(!eregi(A-Z0-9,$name)) {
echo "Usernames can only be alphanumeric, please correct this.";
}
Also, the domain checker was mostly tutorial code. How exactly did you do that?
|
|
|