Bug #16897 Updated: PHP connecting with localhost.localdomain overiding every host in mysql_connect

From: Date: Mon, 29 Apr 2002 08:44:45 +0000
Subject: Bug #16897 Updated: PHP connecting with localhost.localdomain overiding every host in mysql_connect
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6433@lists.php.net to get a copy of this message
ID: 16897 Updated by: gijs@spill.nl Reported By: gijs@spill.nl Status: Open Bug Type: MySQL related Operating System: Redhat 7.2 PHP Version: 4.2.0 New Comment: php 2.0 is of course PHP 4.2.0 Previous Comments: ------------------------------------------------------------------------ [2002-04-29 04:37:58] gijs@spill.nl 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 this bug report at http://bugs.php.net/?id=16897&edit=1

« previous php.bugs (#6433) next »