Tutorial Cleaning Variables
Variables that are submitted via web forms always need to be cleaned/sanitized before use in any way, to prevent against all kinds of differ...
https://iskablogs.blogspot.com/2014/03/tutorial-cleaning-variables.html
Variables that are submitted via web forms always need to be cleaned/sanitized before use in any way, to prevent against all kinds of different malicious intent.
Technique #1
function clean($value) {
// If magic quotes not turned on add slashes.
if(!get_magic_quotes_gpc())
// Adds the slashes.
{ $value = addslashes($value); }
// Strip any tags from
Technique #1
function clean($value) {
// If magic quotes not turned on add slashes.
if(!get_magic_quotes_gpc())
// Adds the slashes.
{ $value = addslashes($value); }
// Strip any tags from