note 52142 added to function.mysql-real-escape-string
| From: | Pilgrim at osu1 dot php dot net | Date: | Fri, 22 Apr 2005 05:15:59 +0000 |
| Subject: | note 52142 added to function.mysql-real-escape-string | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88382@lists.php.net to get a copy of this message | ||
In mysql-server
Is there record with host='localhost',user='',password='' in table
mysql.user?
If not, add this record!
--------------
Use MYSQL;
INSERT INTO user VALUES ('localhost', '', '', 'N',
'N', 'N', 'N', 'N', 'N', 'N',
'N', 'N', 'N', 'N', 'N', 'N',
'N', 'N', 'N', 'N', 'N', 'N',
'N', 'N', '', '', '', '', 0, 0, 0);
--------------
Then this function will return not empty string!
Bye!
----
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+52142
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52142&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52142&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52142&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52142&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52142&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52142&report=yes
Search -- http://master.php.net/manage/user-notes.php