Hi all,

I found a solution, actually quite simple: Adding all the parameters
manually.

           $oRequest = new OWSRequestObj();
        foreach ($_REQUEST as $k=>$v) {
            $oRequest->setParameter($k, utf8_decode($v));
        }
        ms_ioinstallstdouttobuffer();
        $oMap->owsdispatch($oRequest);
        $strContType = ms_iostripstdoutbuffercontenttype();
        if ($strContType == 'image/png') {
                header('Content-type: image/png');
        }
        
        if($_REQUEST['encode']) {
                echo utf8_encode(ms_iogetstdoutbufferstring());
        } else {
                ms_iogetStdoutBufferBytes();
        }
        ms_ioresethandlers();

Hope this helps other people with the same problem :)

Hawk

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Post-body-is-short-tp7061122p7106576.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to