Yeah I just went over every file in my new RPG version that didn't have globalize() already, and used it.
A side note about globalize():
If you want to run globalize() on an array, you have to skip using the "=>" stuff.
It would then be smart to run the functions quoted above on the variables as they are submitted into $DB_site->query()
Quote:
Originally Posted by Erwin
You can use globalize with this:
STR_NOHTML
Those 2 functions you posted are built-in as part of the intrinsic vB globalize function.
|
You sayin that by using the htmlspecialchars_uni(trim()) there's no need for addslashes()?