mysql-real-escape-string Questions
7
Solved
I've been doing some reading on securing PHP applications, and it seems to me that mysqli_real_escape_string is the correct function to use when inserting data into MySQL tables because addslashes ...
Nodular asked 6/2, 2010 at 18:43
4
Solved
Should I use the mysql_real_escape_string() function in my MySQL queries for $_SESSION variables? Theoretically, the $_SESSION variables can't be modified by the end-user unlike $_GET or $_POST var...
Beading asked 23/1, 2010 at 7:46
4
Solved
I'd like to have a function behaving as mysql_real_escape_string without connecting to database as at times I need to do dry testing without DB connection. mysql_escape_string is deprecated and the...
Cicily asked 22/7, 2009 at 0:38
1
Solved
I'm escaping all the string parameters I receive from a php form like this:
$usr_name = mysql_real_escape_string($_REQUEST['usr_name']);
to avoid a few problems with SQL Injection. But when I my...
Receipt asked 1/5, 2009 at 19:3
© 2022 - 2024 — McMap. All rights reserved.