[Chameleon-dev] [Bug 1849] New: LayerAttributes.php uses file_get_contents instead of HTTPClient

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Mon Feb 11 07:27:29 EST 2008


           Summary: LayerAttributes.php uses file_get_contents instead of
           Product: Chameleon
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: bartvde at osgis.nl

So this won't work in environments where a proxy is needed to go outside.

The fix for function getWFSResource is something like:

        //$szXMLFile = file_get_contents( $szURL );
        // use the http client
        $oHTTPClient = new HTTPClient("", 30);
        $szXMLFile = $oHTTPClient->doGET($szURL);

------- 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