mysql-real-escape-string
adding mysql_real_escape_string automatically with regexp
I have a mysql class which has a method called query(开发者_如何学编程) which is basically mysql_query(). This method receives the query as the parameter like this:[详细]
2023-03-03 04:32 分类:问答Why doesn't mysql_real_escape_string() work correctly?
in documentation of mysql_real_escape_string() it say: ...,taking into account the current character set of the connection so[详细]
2023-03-02 01:57 分类:问答Should I still escape? $_GET and XSS, SQL Injection and other PHP Security Concerns
If I am retrieving data with $_GET from the URL string and not displaying that data back on a webpage or doing any SQL actions with it, should I still consider using escape, regular expression and oth[详细]
2023-02-27 13:56 分类:问答Escaping Characters in Email with PHP/MYSQL
I\'m having a problem figuring out the logic behind how characters are being escaped when I use the mail() function for PHP.I\'m using PHP 5.2, with magic_quotes_qpc ON and runtime/sybase OFF.Here\'s[详细]
2023-02-27 11:37 分类:问答regarding stripslash in html pages how to hide... in php pages
when i add the enter from the CMS admin panel then add the data before doing this php method.. $result = mysql_real_escape_string($str);[详细]
2023-02-18 16:36 分类:问答Escaping quotes twice in PHP
I have a complicated开发者_如何学运维 form where I first have to take some $_GET parameters and obviously I have to do a mysql_real_escape_string() on them since I look stuff up in the database with t[详细]
2023-02-15 04:16 分类:问答problem with inserting a forward slash in mysql table
I got problem inserting the string \"AM/PM\" to my mySQL table $timeFormat = mysql_real_escape_string($_POST[\'timeFormat\']);[详细]
2023-02-12 11:43 分类:问答Should I unescape some characters if using a tool like NicEdit for posts? How?
I\'m planning on using nicEdit for posts to allow users to change the text font, weight, add a picture... But my question is, before using mysql_real_escape_string s开发者_如何学运维hould I unescape s[详细]
2023-02-08 12:11 分类:问答Escaping quotes in SQL
According to php.net I should usemysql_real_escape_string() and turn off magic quotes, because it\'s deprecated.[详细]
2023-02-07 17:48 分类:问答mysql_real_escape_string not working
My mysql_real_escape_string is being ignored. It\'s killing me, because I 开发者_运维百科feel like it\'s something tiny that I\'m missing.[详细]
2023-02-05 19:04 分类:问答