ID: 33308 Updated by: [EMAIL PROTECTED] Reported By: babytje_ab at hotmail dot com -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: debian PHP Version: 4.3.11 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . Previous Comments: ------------------------------------------------------------------------ [2005-06-11 08:33:03] babytje_ab at hotmail dot com Description: ------------ when you include a script from site1 to site2 then $HTTP_HOST or $_SERVER["HTTP_HOST"] whil give me site1 instead of site2 can it be a fix around to this? Reproduce code: --------------- site1: www.site1.com/script.php <?php echo $_SERVER["HTTP_HOST"]; ?> site2: www.site2.com/somting.php <?php include "www.site1.com/script.php"; ?> Expected result: ---------------- www.site2.com Actual result: -------------- www.site1.com ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33308&edit=1