On 14/05/2009 13:07, Salvator*eL*arosa wrote: > Can I put a variable in the mapfile? >
If you use Mapserver as CGI: yes, if you use Mapserver as Mapscript: no at least this is how I understand it. > For example: > the keyword "DATA" in the mapfile can insert a variable "$ user" as follows: > > DATA "geometry from table where user = '$ user'" > > where $user in map.phtml is: > > $user = $_COOKIE('user') > > > > Or how can I put a variable in the mapfile? > > Thank you > > ----- > Salvatore Larosa > GPG: 0xE504BBE2 (FP: D9B2 CA87 81CD 1B91 E24D 3B42 D0F7 FA01 E504 BBE2) ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users