From 5bf18bc49c88a5eef094a70d5e3a505fdccabd61 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Wed, 11 Oct 2006 10:04:41 +0000 Subject: [PATCH] SQL safe mode git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@221552 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysql/functions/mysql-connect.xml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/reference/mysql/functions/mysql-connect.xml b/reference/mysql/functions/mysql-connect.xml index 21228c17c0..9aaf7d031a 100644 --- a/reference/mysql/functions/mysql-connect.xml +++ b/reference/mysql/functions/mysql-connect.xml @@ -1,5 +1,5 @@ - + mysql_connect @@ -36,7 +36,8 @@ If the PHP directive mysql.default_host is undefined (default), then the default - value is 'localhost:3306' + value is 'localhost:3306'. In &sqlsafemode;, this parameter is ignored + and value 'localhost:3306' is always used. @@ -44,8 +45,10 @@ username - The username. Default value is the name of the user that owns the - server process. + The username. Default value is defined by mysql.default_user. In + &sqlsafemode;, this parameter is ignored and the name of the user that + owns the server process is used. @@ -53,7 +56,9 @@ password - The password. Default value is an empty password. + The password. Default value is defined by mysql.default_password. In + &sqlsafemode;, this parameter is ignored and empty password is used. @@ -68,6 +73,7 @@ behavior and makes mysql_connect always open a new link, even if mysql_connect was called before with the same parameters. + In &sqlsafemode;, this parameter is ignored. @@ -82,6 +88,7 @@ MYSQL_CLIENT_IGNORE_SPACE or MYSQL_CLIENT_INTERACTIVE. Read the section about for further information. + In &sqlsafemode;, this parameter is ignored.