[mapserver-users] PHP/Mapscript vs. CGI

Wolfgang Lahr BGIV at gmx.de
Thu May 30 11:30:58 EDT 2002


Hi listers,

I am able to query and highlight the result using the cgi way like so 
(lines split for readability):

myserver/cgi-bin/mapserv?map=/mypath/mymap.map 
&mode=itemnquerymap
&qlayer=mylayer
&map_mylayer_filter=/2978-2-286|2978-2-285|2978-2-287/
&mapxy=shapes

or:

myserver/scripts/mapserv.exe?map=mypath/mymap.map 
&mode=itemnquerymap
&qlayer=mylayer&map_mylayer_filteritem=FLUR
&map_mylayer_filter=/^5/

But - how do I manage that with PHP/mapscript? I have been searching 
the archive, found lots of different opinions but none of the 
examples will work for me.

Mapserver version ist early 3.6 dev, PHP 4.06

TIA for any hints

Wolfgang
-----------------------------------------------
Dr. Wolfgang Lahr      
Büro für Geographische Informationsverarbeitung
Wilhelm-Theodor-Römheld-Str. 30
55130 Mainz
Tel.: 06131/832123
Fax : 06131/832825
mobil: 0172/6967592
-----------------------------------------------




More information about the mapserver-users mailing list