Page 1 of 1

Injection Prevention

PostPosted: 02. August 2007 01:20
by SirChick
Does apache have the string escape auto on cos when i put the string escape on my variables im getting hideous errors and was wondering if its cos apache has it turned on already so im effectively trying to turn on something thats all ready on ?

this is the error im getting, non of the coders can fix it so it might be something with apache... so ill paste the error see if any of you regocnise it...

Notice: Undefined index: TermsOfService in C:\xampp\htdocs\RegisterPage.php on line 4

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\RegisterPage.php on line 5

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\xampp\htdocs\RegisterPage.php on line 5

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\RegisterPage.php on line 6

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\xampp\htdocs\RegisterPage.php on line 6

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\RegisterPage.php on line 7

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\xampp\htdocs\RegisterPage.php on line 7

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampp\htdocs\RegisterPage.php on line 8

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in C:\xampp\htdocs\RegisterPage.php on line 8

Notice: Trying to get property of non-object in C:\xampp\htdocs\RegisterPage.php on line 25

Notice: Trying to get property of non-object in C:\xampp\htdocs\RegisterPage.php on line 30

PostPosted: 02. August 2007 02:28
by outlaw
Does apache have the string escape auto on


.... what is this?
do you mean php having magic_quotes on? Probably so
http://us3.php.net/magic_quotes

Access denied for user 'ODBC'@'localhost'

This error means that you are not connected to the database, which you need to be in order to use mysql_real_escape_string