ID: 25171 Updated by: [EMAIL PROTECTED] Reported By: php at lansco dot de -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Linux PHP Version: 4.3.3RC4 New Comment:
$SERVER doesn't even exist... so how the h**k can that work? Previous Comments: ------------------------------------------------------------------------ [2003-08-20 04:54:48] php at lansco dot de Description: ------------ When register_globals=on is set the values of $HTTP_HOST and $SERVER["HTTP_HOST"] conatin not always the same. Sometimes $HTTP_HOST is empty while $SERVER["HTTP_HOST"] contains the expected value. After a reload it mostly works again. I cannot reproduce the error. This error also occurs with PHP-4.3.2 Reproduce code: --------------- print $HTTP_HOST."\n"; print $SERVER["HTTP_HOST"]."\n"; Expected result: ---------------- www.lansco.de www.lansco.de Actual result: -------------- www.lansco.de ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25171&edit=1