
<?php
function anti_inj($text){
$text = mysql_real_escape_string($text);
return $text;
}
?>
<?php
function anti_inj($text){
$text = mysql_real_escape_string($text);
return $text;
}
?>
хватит и mysql_real_escape_string() и intval()
Да а вот от xss другая
Вы реально думаете, что это защита от SQL-инъекций? ....
function anti_inj($text){
return mysql_real_escape_string($text);
}
м.б??
как на php
42 ответа
как залить php на wen.ru
42 ответа
Чем отличается питон от удава
42 ответа
Как натянуть сайт на питона
42 ответа