[mapserver-users] OWSRequest-postrequest in PHP MapScript

2010-11-30 Thread Peter Hopfgartner
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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] OWSRequest-postrequest in PHP MapScript

2010-11-30 Thread Alan Boudreault
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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] OWSRequest-postrequest in PHP MapScript

2010-11-30 Thread Alan Boudreault
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@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] OWSRequest-postrequest in PHP MapScript

2010-11-30 Thread Alan Boudreault
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 aboudrea...@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@lists.osgeo.org
   http://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] OWSRequest-postrequest in PHP MapScript

2010-11-30 Thread Alan Boudreault
Yes I'm using the php cgi mode.

On November 30, 2010 12:01:15 pm Peter Hopfgartner wrote:
 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 aboudrea...@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 aboudrea...@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users