Test SQL Injection ochrany
<?php
If(!Empty($_POST['text'])){
MySQL_Connect("mysql5","testjabko","PWD") Or Die(MySQL_Error());
MySQL_Select_DB("testjabko") Or Die(MySQL_Error());
$text = MySQL_Real_Escape_String($_POST['text']);
echo "<br><br>escapovaný text: <pre>$text</pre>";
}
?>