Variable declaration and sanitization!
I have a series of variables I am declaring in a plug-in that fires in global_start.
These variables are all strings.
What is the best way to sanitize the variables? Currently, I am declaring them like this:
$ccDiscVar = '';
$ccHomeVar = '';
$ccCaleVar = '';
$ccBaseCity = '';
$urlArray = '';
[CODE FOLLOWS]
Thanks for any comments.
|