stuarteve at LPARCHAEOLOGY.COM
Wed Sep 20 14:25:13 EDT 2006
I am having a bit of trouble using the WxS phpMapscript wrapper. I am
trying this code as from the example page:
$request = ms_newOwsRequestObj();
$oMap = ms_newMapobj("mapserver/military.map");
$contenttype = ms_iostripstdoutbuffercontenttype();
$buffer = ms_iogetstdoutbufferstring();
However, all I get is the message (in Firefox) that the connection has
been reset to the server. After a bit of debug I found it was to do with
the $request->loadparams() call - by commenting that out and manually
setting the variables...
...I get a perfect getcapabilities response. I could I guess manually
request the variables from the querystring using php and set them, but
that seems a lot of work!
My URL looks like this
I am using MapServer version 4.10.0-beta3
Anyone got any ideas or have experienced this?
L - P : Archaeology
stuarteve at lparchaeology.com
More information about the mapserver-users