Query template file question
Jim T. Bowen (GAIA Consultants Inc.)
bowenj at gaiaenv.com
Fri Oct 29 07:40:59 PDT 1999
Hi all,
Probably a question for Steve, but perhaps someone else can help.
We are using PHP3 to access database information via our site. We are
also using PHP3 to link MapServer with PostgreSQL. The links are
rudimentary at this point, but show potential. At this point, all we
have in place is: Query function passes a unique id to PHP3 script that
then performs a query on PostgreSQL and dynamically creates html
output.
My question lies in the 'query template' identified in the MapServer map
file. The docs indicate that output can be passed to an URL or template
file. I cannot find docs or eg. relating to passing the query info. to
an URL. I would like to do this because MapServer does not recognise a
.PHP3 extension as a valid html template file. I think I found where I
would need to change this in the source, but perhaps someone could shed
some light on this (C is not my forte). I do not want to dick with my
apache settings...I believe source change would be fastest and least
intrusive to our web server. Currently, I have a temporary html
template that grabs MapServer variables, and passes them via the URL
string, using an http-equiv redirect. (yuck)
I would have included the URL for the site, but the information is
confidential (client request...sorry). Thanks in advance.
Cheers,
Jim
___________________________________ GGG G AAA III AAA
| Jim T. Bowen, M.Sc., President | G GG A I A
| | G G A A I A A
|Suite 306, 822-11th Ave. S.W. | G G A A I A A
|Calgary, Alberta, Canada T2R 0E5 | G A A I A A
|Ph: 403-571-7213 Fax: 403-571-7211| G GGGG A A I A A
|_______bowenj at gaiaenv.com__________| G G AAAAA I AAAAA
ICQ: 15567315 G G A A I A A
http://www.gaiaenv.com G G A A I A A
GGGG AAA AAA III AAA AAA
More information about the MapServer-users
mailing list