[mapserver-users] posting variable to map file from html page

Fawcett, David (MNIT) David.Fawcett at state.mn.us
Thu Feb 14 07:31:16 PST 2013


Murat,

Starting at 6.0, you need to add a validation block to your layer.  With validation, you include an expression that defines which characters are allowed to be passed in that variable.

http://mapserver.org/cgi/runsub.html

David.

From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Murat Beyhan
Sent: Thursday, February 14, 2013 9:12 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] posting variable to map file from html page

Dear Friend
After installing mapserver 6.0.1 I have faced a problem that
I could not post string variable into the map file.
It was working well for mapserver 5.4.2 but it doesn't work for new version
from html file I have sending eq_id to the map file
and in layer I use the following

 <SrcSQL>SELECT sta_id,latitude,longitude from pgav where eq_id like  "%eq_id%"  </SrcSQL>


it was worked for mapserver 5.4.2 but I could not sent when I installed new version of map file.
May be it caused by new apache2 server. But in case please help me.
Regards...
Murat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130214/5a9adbb4/attachment-0001.html>


More information about the mapserver-users mailing list