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: [email protected] [mailto:[email protected]] On Behalf Of Murat Beyhan Sent: Thursday, February 14, 2013 9:12 AM To: [email protected] 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
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
