#31951 [Opn->Csd]: msql_connect() has 0 or 1 parameters
| From: | vrana@php.net | Date: | Sun, 13 Feb 2005 20:24:05 +0000 |
| Subject: | #31951 [Opn->Csd]: msql_connect() has 0 or 1 parameters | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969366560@lists.php.net to get a copy of this message | ||
ID: 31951
Updated by: vrana@php.net
Reported By: danielc at analysisandsolutions dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: 5CVS-2005-02-13 (dev)
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2005-02-13 05:30:55] danielc at analysisandsolutions dot com
Description:
------------
http://php.net/msql_connect is wrong. msql_connect()
accepts 0 or 1
parameters. See
http://cvs.php.net/annotate.php/php-src/ext/msql/php_msql.c?rev=1.58#239
to confirm.
So, please remove the "username" and "password" parameters.
While y'all are at it, please incorporate the user note on that page
regarding Unix sockets being used if the "hostname" parameter is not
provided.
Thanks.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31951&edit=1