function antisql($temizle){
if (get_magic_quotes_gpc()) {
$temiz = mysql_real_escape_string(stripslashes($temizle));
}else{
$temiz= mysql_real_escape_string($temizle);
}
return $temiz;
}Bilgisayar Yüksek Mühendisi Mesut PEK
C#- Java-Python-MVC- Web Form-Web Servis-Mobil – Blog ve Ders Notları
function antisql($temizle){
if (get_magic_quotes_gpc()) {
$temiz = mysql_real_escape_string(stripslashes($temizle));
}else{
$temiz= mysql_real_escape_string($temizle);
}
return $temiz;
}