You're trying to mix PHP and HTML templates. That won't work as far as I know 
unless there is some
funky piping you can do in Apache 2. MapServer parses the template specified 
and echos the output
to stdout so it's not interpreted by anything else before it hits the user's 
browser.

Steve

>>> On 9/7/2008 at 4:34 PM, in message <[EMAIL PROTECTED]>, Rainer
Kalliany <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I'm using MapServer 4.8 via the MS4W package and I can't get template 
> substitutions to work.  I tried adding a WEB section like
> 
>    WEB
>      TEMPLATE '/ms4w/Apache/htdocs/ka-map-1.0/index.php'
>    END
> 
> to my map file (see attachment), yet when I add a template string (I tried 
> [version], for example) to index.php, it just gets displayed literally.
> 
> Is there any other option I need to set?
> 
> Thanks in advance,
> 
> Rainer
> 
> 2008-09-07, 21:35 UTC

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to