#31951 [NEW]: msql_connect() has 0 or 1 parameters

From: Date: Sun, 13 Feb 2005 04:30:56 +0000
Subject: #31951 [NEW]: msql_connect() has 0 or 1 parameters
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969366548@lists.php.net to get a copy of this message
From: danielc at analysisandsolutions dot com Operating system: Irrelevant PHP version: 5CVS-2005-02-13 (dev) PHP Bug Type: Documentation problem Bug description: msql_connect() has 0 or 1 parameters 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 bug report at http://bugs.php.net/?id=31951&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31951&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31951&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31951&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31951&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31951&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31951&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31951&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31951&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31951&r=support Expected behavior: http://bugs.php.net/fix.php?id=31951&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31951&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31951&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31951&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31951&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31951&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31951&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31951&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31951&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31951&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31951&r=mysqlcfg

« previous php.doc (#969366548) next »