Replaced mysql_real_escape_string with something less secure, but that doesn't require a net connection.