mysql-real-escape-string
PHP MYSQL file contents escape problem
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[详细]
2022-12-13 21:52 分类:问答Why bother using mysql_real_escape_string() since $_POST addes slashes before a quote automatically?
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[详细]
2022-12-12 05:01 分类:问答