Aha! That's what it is! I should have known!! (I even finished reading an article about this!)
MySQL is trying to literally read the files, and it's getting some percentage signs in there. Well, % and _ are wildcards in MySQL. Not good if we're trying to insert a file.
You've escaped the slashed, but not these special characters.
In file Submit.php, circa line 25:
$Content=addslashes($Content);
should be:
$Content=mysql_real_escape_string($Content);
Try that out, and lemme know!