magic quotes php


according , method formula some-more portable, advise controlling something following evading data:



if (!get_magic_quotes_gpc()) {
$lastname = addslashes($_post['lastname']);
} else {
$lastname = $_post['lastname'];
}


i have validation checks i performing, nonetheless secure above quite terms evading data? i also saw incantation quotes deprecated php 6. impact above code? i move have rest database-specific evading duty mysql_real_escape_string().



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members