php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #31951 msql_connect() has 0 or 1 parameters
Submitted: 2005-02-13 05:30 UTC Modified: 2005-02-13 21:24 UTC
From: danielc at analysisandsolutions dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 5CVS-2005-02-13 (dev) OS: Irrelevant
Private report: No CVE-ID: None
 [2005-02-13 05:30 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-13 21:24 UTC] vrana@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 18 21:01:26 2024 UTC