Quote:
Originally Posted by Brad.loo
Your are right, globalize is a nice little function. Heres a little overview of everything it dose.
Use INT and globalize will run this on the $var
If you use STR
If you use STR_NOHTML
PHP Code:
htmlspecialchars_uni(trim($var));
You can also use FILE, which takes $_FILES['$var'] and makes it $array['$var']
|
Nice summary of the things globalize can do.
Add-on authors should utilize the built-in security vBulletin offers a lot more, rather than writing their own security checks.