[Chameleon-dev] [Bug 1488] New: use of HTTP_HOST results of PHP Notices

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Tue Jun 13 18:35:14 EDT 2006


           Summary: use of HTTP_HOST results of PHP Notices
           Product: Chameleon
           Version: 2.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: godwinl at agr.gc.ca

Use of HTTP_HOST in chameleon.php results in errors such as the following:

PHP Notice:  Undefined index:  HTTP_HOST in
/<path>/chameleon-2.2/htdocs/chameleon.php on line 1587

also on line 736.

Recommend using SERVER_NAME when HTTP_HOST not set.  Seems to work for me, but
it's not something that happens frequently.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.

More information about the Chameleon-dev mailing list