Quote:
Originally Posted by therocket954
That is fantastic.  Thanks End User.
I've been using a combination of preg_match(), mysql_real_escape_string(), and a bunch of if statements... this is much cleaner 
|
You're welcome, and I'm glad you like it. I can't take full credit for it, however- I started with some code scavenged from CodeIgniter and added some additional tweaks, checks, and functionality. I think it's reasonably safe. If someone can find a way to spoof that function, I'd be proud to have them hijack my server and make it part of their botnet.

.