|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-08-30 02:48 UTC] georg@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Jan 31 19:00:01 2026 UTC |
Description: ------------ mysql_connect() and mysql_pconnect(), when called without arguments, use default values mysql.detault_* variables to detect what host/username/password to use. But they do so only if they are calles withou any argument. Could be this enhanced to use default variables whenever NULL is used as value? e.g. mysql_connect("new.host.name", NULL, NULL, MYSQL_CLIENT_COMPRESS) would take mysql.default_user and mysql.default_password as username and password.