I am attempting to upload a .pdf file into a mysql database using php. It is all good except for the contents of the file. No matter how I seem try to esca开发者_Python百科pe special characters, the
In PHP, $_POST add slashes before a quotation mark automatically, so why bother applyin开发者_高级运维g mysql_real_escape_string()? For example, when I input \'rrr in an input field, and I get \\\'rrr