From:             prac1 at dynawest dot cz
Operating system: all
PHP version:      4.3.1
PHP Bug Type:     MySQL related
Bug description:  mysql_pconnect()'s 4th param should be checked better

In a mistake, I sent a string as a fourth parameter of mysql_pconnect(),
which is meant to set flags. I don't know what exactly that string
("mudrweb") set, but the result was myqls's error:
Incorrect database name '2XE/YU'

I think the parameter should be checked whether it is a number type or an
appropriate convertable string, that means, convertable to a meaningful
flags values. Thanks, bye
-- 
Edit bug report at http://bugs.php.net/?id=23888&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=23888&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=23888&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=23888&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=23888&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=23888&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=23888&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=23888&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=23888&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=23888&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=23888&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23888&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=23888&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=23888&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=23888&r=gnused

Reply via email to