note 49573 added to function.mysql-real-escape-string

From: Date: Wed, 02 Feb 2005 00:44:10 +0000
Subject: note 49573 added to function.mysql-real-escape-string
Groups: php.notes 
Request: Send a blank email to php-notes+get-84350@lists.php.net to get a copy of this message
If You are using the function without the optional parameter for DB-link and get error messages, just add a new user in MySQL with blanc name and password with no access to anything (and don't forget to "flush privileges;"). This user should be there by default, but if this is not the case, You need to create it in order to allow the function to connect as nobody with no password. Cheers ---- Manual Page -- http://www.php.net/manual/en/function.mysql-real-escape-string.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49573 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49573&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49573&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49573&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49573&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49573&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49573&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#84350) next »