Safe to make this script public? Newbie Question
<pre><code>&lt;?php

if (isset($_POST['post'])) {

// sanitize variables
$title = mysql_real_escape_string(trim($_POST['title']));
$text = mysql_real_escape_string(trim($_POST['text']));

if (strlen($title) &gt; 3) {

mysql_query("INSERT INTO msgs (title, text, date)
           VALUES('$title', '$text', '".time()."')");
header('location:  msg.php?id='.mysql_insert_id().'');
exit;

}

else {

echo '&lt;h2&gt;Errors&lt;/h2&gt;&lt;p style="color: maroon"&gt;&gt; Fields title and text must consist more than 3     characters.&lt;/span&gt;';

}


}

?&gt;
</code></pre>

<p>Is this safe to use? Have i forgot something?
Just making sure before i make this public.</p>
