[mapserver-users] template files and php

Stepan Kafka stepan.kafka at centrum.cz
Thu Feb 14 06:25:01 EST 2002


If you can only get data from your database during map query, you can use
URL in your query template definition:

  TEMPLATE "httpd://url.of.your.php_script.php?id=[ID]"

where [ID]... are the attribute names of your layer.

Stepan Kafka

> -----Pùvodní zpráva-----
> Od: owner-mapserver-users at lists.gis.umn.edu
> [mailto:owner-mapserver-users at lists.gis.umn.edu]za uživatele Nacho
> Benito
> Odesláno: 14. února 2002 11:01
> Komu: mapserver-users at lists.gis.umn.edu
> Pøedmìt: [mapserver-users] template files and php
>
>
> hello
> I'd like to know if it's possible to add php in template files
> without using
> mapscript (I would like to display some datas that are stored in mysql
> database)
> Can you help me)
> Thanks in advance
> Regards
> Nacho
>
> _________________________________________________________________
> Hable con sus amigos en línea, pruebe MSN Messenger:
> http://messenger.msn.es
>
>




More information about the mapserver-users mailing list