ID: 43632 Updated by: [EMAIL PROTECTED] Reported By: u7vd8gw2725h59sm at yopmail dot com -Status: Open +Status: Feedback -Bug Type: Variables related +Bug Type: *General Issues Operating System: Irrelevant PHP Version: 5.2.5 New Comment:
Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2007-12-19 00:40:30] u7vd8gw2725h59sm at yopmail dot com Description: ------------ With an IPv6 address, HTTP_HOST should be for example [::1]:8080 and not ::1:8080 For example IPv6 URI: http://[::1]:8080/ http://user:password[::1]:8081/ http://[::1]:80/dir/file http://[::1]:8000/dir/file?q=query Reproduce code: --------------- <?php echo $_SERVER["HTTP_HOST"]; ?> Expected result: ---------------- [::1]:8080 Actual result: -------------- ::1:8080 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43632&edit=1