From:             [EMAIL PROTECTED]
Operating system: Redhat 7.2
PHP version:      4.2.0
PHP Bug Type:     MySQL related
Bug description:  PHP connecting with localhost.localdomain overiding every host in 
mysql_connect

OS: Redhat 7.1 and 7.2 


When using php 2.0 php is overiding vars.

When I do:

mysql_connect("localhost",user,pass);

PHP changes "localhost"(and all other input) in to
"localhost.localdomain". 

This way nobody can connect to mysql(standard "localhost") or any other
remote mysql service. 
-- 
Edit bug report at http://bugs.php.net/?id=16897&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16897&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16897&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16897&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16897&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16897&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16897&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16897&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16897&r=submittedtwice

Reply via email to