![]() |
|
|
#11 | |
|
Архивный участник
Join Date: Mar 2006
Posts: 26
|
Quote:
Before I coded a vBulletin integrated L2CP we used pretty much the original BR version only without injection issues, and in a highly better coding style XD I didn't look at your function, but in mine, I stripped all characters that weren't a-z A-Z 0-9, worked fine and dandy. Had some guy claim he could still hack it but even though I told him to try it, he couldn't XD @ the email checking function: Checking for valid email address is pretty much useless anyways. Unless you want to open for emails like asdasd@asdsad.sdasd then you would be blocking people using emails from addresses with domain suffixes not predicted. Sure, if they use fake emails they won't get their accounts validated and the likes, but if the system can be fooled to spam up your DB with accounts then why have it at all? |
|
|
|
|
|