[mapserver-users] OWSRequest->postrequest in PHP MapScript
Peter Hopfgartner
peter.hopfgartner at r3-gis.com
Tue Nov 30 09:01:15 PST 2010
Are you using PHP in CGI mode? loadparams() might not work with 5.6 when PHP is used as an Apache module.
Peter Hopfgartner
R3 GIS Srl - GmbH
http://www.r3-gis.com
--------Alan Boudreault <aboudreault at mapgears.com> wrote--------
Subject: Re: [mapserver-users] OWSRequest->postrequest in PHP MapScript
Date: 30.11.2010 17:44
>Well, not sure what's wrong with my test case... but I'm just unable to
>get
>the loadparams() method working in MapServer 5.4.2/5.6.5. It seems to
>crash
>without any exception. I see nothing in my debug file neither. The http
>request returns no data.
>
>Everything works like a charm using MapServer-dev, GET params and POST
>params.
>
>Alan
>
>On November 30, 2010 11:02:00 am Peter Hopfgartner wrote:
>> Thanks!
>>
>> Peter Hopfgartner
>>
>> R3 GIS Srl - GmbH
>> http://www.r3-gis.com
>>
>>
>> --------Alan Boudreault <aboudreault at mapgears.com> wrote--------
>> Subject: Re: [mapserver-users] OWSRequest->postrequest in PHP MapScript
>> Date: 30.11.2010 16:10
>>
>> >Well, I may be wrong... the php code and the cgiutil code have been
>> >modified..
>> >let me give it a try today and will get back to you.
>> >
>> >Alan
>> >
>> >On November 30, 2010 10:01:30 am Alan Boudreault wrote:
>> >> Peter,
>> >>
>> >> By the current PHP MapScript, I assume you mean MapServer 5.6.5.
>> >> Unfortunately, I doubt it will work in that version. However, the
>> >> OWSRequest-
>> >>
>> >> >loadParams method supports post parameters in MS-dev. It will be
>> >
>> >available
>> >
>> >> >in
>> >>
>> >> MS 6.0.
>> >>
>> >> Alan
>> >>
>> >> On November 30, 2010 09:03:07 am Peter Hopfgartner wrote:
>> >> > Is OWSRequest->postrequest implemented in the current PHP
>MapScript?
>> >
>> >Is
>> >
>> >> > it available only for CGI? We would like to use a wrapper for
>> >
>> >handling
>> >
>> >> > WFS request and we would like to pass the POST data to MapServer
>> >
>> >without
>> >
>> >> > the need to slice the XML into single setParameters() calls.
>> >> >
>> >> > Regards,
>> >> >
>> >> > Peter Hopfgartner
>> >> >
>> >> > R3 GIS Srl - GmbH
>> >> > http://www.r3-gis.com
>> >> >
>> >> >
>> >> > _______________________________________________
>> >> > mapserver-users mailing list
>> >> > mapserver-users at lists.osgeo.org
>> >> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>--
>Alan Boudreault
>Mapgears
>http://www.mapgears.com
>
More information about the MapServer-users
mailing list