[Mapserver-dev] mapserver map file works with html templates only
jorodrig at sfwmd.gov
Fri May 2 09:11:27 EDT 2003
I am a user at this time and is building an application using Mapserver.
The problem I am facing has to do with the fact that Mapserver seems to
HTML templates only in the mapfile (demo.map) for example.
This creates a problem when passing parameters to scripting languages
such as PHP.
Since Mapserver uses a few html pages to display its results example
demo.html, header_demo.html and footer_demo.html etc, one cannot pass
parameters directly to a PHP script. This appears to be due to the fact
that the results you see are really 3 html pages one of which is the
Template html file.
What I want to do is have a user click on my map and sent the value of
the click to a script eg.php to do some processing. But sine Mapserver
only interacts with html, this is acheived indirectly by calling another
Hope this is not too confusing but my point is: HOW DOES ONE GET
MAPSERVER TO USE PHP OR OTHER SCRIPT FILES AS HEADER.PHP, FOOTER.PHP,
TEMPLATE.PHP INSTEAD OF HEADER.HTML, TEMPLATE.HTML ETC. ???
If this feature could be done it would make interacting with Mapserver
More information about the mapserver-dev