hallo zusammen kann mir einer sagen was dran falsch ist?
PHP-Code:
// Ajout des protections injection SQL 
    
$x str_replace("'"''', $x); 
    $x = str_replace("--", '
--', $x); 
    $x = str_replace("UPDATE", '', $x); 
    $x = str_replace("DELETE", '', $x); 
    $x = str_replace("DROP", '', $x); 
    $x = str_replace("INSERT", '', $x); 
    $x = str_replace("$mysql_", '', $x); 
    $x = str_replace("java script:", '
$x); 
// Ajout des protections injection SQL 
Ich habe das irgendwo gefunden ich weiß nicht was die variable x soll, bissi komisch und mysql als ne variable nehmen? hmm. Kann mir das vielleicht Einer richtig schreiben? es soll eine sql injection verhindern und die seite in ein U-Boot fahren danke schon mal