Hi Warty

HTML iframes may be useful. You could insert an iframe in the
MapServer template referencing the PHP header or vice versa, insert an
iframe in the PHP header referencing the MapServer call.

Best regards
Jorge

2006/5/1, Pericles S. Nacionales <[EMAIL PROTECTED]>:
Folks,

Gary Watry is having problems with the MapServer-Users mailing list.  We're
looking at the problem but I thought I'd forward his questions to the list.
So, if anyone has the answer...  I'm sure he'll be happy to hear from you.

-Perry

>>> "Gary Watry" <[EMAIL PROTECTED]> 5/1/2006 7:35 AM >>>

Good Morning
1. I have lost the ability to post to the mapserver forum
[email protected]

2. I need to be able to add a header (mapheader.php) to all my pages, I do
not want to hardcode the header because as part of the header changes I
would have to go to too many pages to update it.

In the mapfile are several templates,
A. if I load a template as follows,
   EMPTY "http://indianocean.coaps.fsu.edu/httpdocs/templates/hurrempty.php";
the header loads using
<?php
include("http://indianocean.coaps.fsu.edu/httpdocs/mapheader.php";);
?>

B. if I load the template in the WEB portion
   TEMPLATE 'c:\inetpub\wwwroot\httpdocs\hurrtrac.php'
   The header does not load

C. If I load the template in the Layer portion,
   TEMPLATE "c:\inetpub\wwwroot\httpdocs\templates\hurricane.php"
   The query loads but not the header

D. If I load the template in the Layer portion,
   TEMPLATE
"http://indianocean.coaps.fsu.edu/httpdocs/templates/hurricane.php";
   The header loads but not the query data

Any thoughts or suggestions?

______________________________________________________________
Gary L. Watry

GIS Coordinator
Center for Ocean-Atmospheric Prediction Studies
FSU / COAPS
Johnson Building, RM 215
2035 East Paul Dirac Drive
Tallahassee, Florida 32306-2840

E-Mail: [EMAIL PROTECTED]

-------------------------------------------------------

--
Pericles S. Nacionales
Conservation Biology Program
University of Minnesota
e-mail: [EMAIL PROTECTED]

Reply via email to