[mapserver-users] ArcIMS Emulations
Paul Ramsey
pramsey at refractions.net
Tue Oct 16 10:08:06 PDT 2001
I am going to get the php CVS version up and running and see how it goes
with that. If it works, with the new raw posting support, I will start
some development there, on the assumption (??) that by the time I am
ready to release publicly 4.0.7 will be out.
Perl would be nice though. Do our Windows-bound brethren know that with
ActivePerl from activestate, there is a perl module library of compiled
modules for download, including all the modules necessary to run the IMS
emulator? (XML::Parser, XML::Writer, and soon XML::DOM)
Bruno Gendron wrote:
>
> Hi Paul,
>
> You're right, as of 4.0.6, PHP cannot handle
> simultaneously POST and GET requests. You have to
> trick your server to re-encode the GET part in the
> POST part and redirect this new request to your PHP
> script.
>
> However, PHP can read raw POST data, in the variable
> $HTTP_RAW_POST_DATA...
>
> --
> Bruno
>
> --- Paul Ramsey <pramsey at refractions.net> a écrit : >
> Brian Fischer wrote:
> > > Is a port to PHP possible?
> >
> > Upon further research, it appears that the answer is
> > "not until PHP
> > 4.0.7". ArcXML clients send requests which have data
> > URL encoded
> > (ServiceName=Blah) simultaneous with sending raw XML
> > in the POST.
> >
> > Firstly, PHP expects you to either POST requests, or
> > GET requests (URL
> > encoded), but not to do BOTH. I do not know if 4.0.7
> > will allow one to
> > do this. Maybe.
> > Secondly, PHP currently cannot access raw data from
> > the POST. It expects
> > the data to be in key/value pairs, and ArcXML is
> > just a raw lump of XML,
> > without a variable name. Apparently version 4.0.7
> > will include the
> > ability to access raw POST data. At that time, the
> > next bridge, getting
> > simultaneous URL encoded and posted data, can
> > hopefully also be crossed.
> >
> > Paul
>
> ___________________________________________________________
> Un nouveau Nokia Game commence.
> Allez sur http://fr.yahoo.com/nokiagame avant le 3 novembre
> pour participer à cette aventure tous médias.
--
__
/
| Paul Ramsey
| Refractions Research
| Email: pramsey at refractions.net
| Phone: (250) 885-0632
\_
More information about the MapServer-users
mailing list