|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-11-23 04:46 UTC] cataphract@php.net
[2010-11-23 04:46 UTC] cataphract@php.net
-Status: Open
+Status: Feedback
[2010-11-23 04:50 UTC] geoffreyfishing at users dot sourceforge dot net
-Status: Feedback
+Status: Closed
[2010-11-23 04:50 UTC] geoffreyfishing at users dot sourceforge dot net
[2010-11-23 05:22 UTC] cataphract@php.net
-Status: Closed
+Status: Duplicate
[2010-11-23 05:22 UTC] cataphract@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 02:00:01 2025 UTC |
Description: ------------ Basically PHP does not convert the DNS name 'localhost' to '127.0.0.1' like it should. Test script: --------------- <?php //THIS WON'T REPRODUCE IF YOU DON'T RUN IT ON VISTA echo gethostbyname('localhost'); //Basically applies to any other PHP function that resolves 'localhost' echo mysql_connect('localhost', 'root', ''); ?> Expected result: ---------------- 127.0.0.1 [some link identifier] Actual result: -------------- localhost false