Building dynamic maps using PHP

Stephan Dunning SDunning at nephrology.org
Thu Nov 30 08:23:57 PST 2000


I have things running fairly well, but I'm now trying to add some custom
functionality.
I added a new function in the php3 file called GmapGetDesc(), but I continue
getting this error:

Fatal error: Call to unsupported or undefined function gmapgetdesc() in
E:\INetPub\USRDS/mapserver/gmap/htdocs/gmap75.phtml on line 374

Clearly the phtml file does not recognize my new function, but why?  The
function is defined in the php3 file and the php3 file is included in the
phtml file.  What am I missing?

Thanks,
Stephan

-----Original Message-----
From: Daniel Morissette [mailto:morissette at dmsolutions.ca]
Sent: Tuesday, November 28, 2000 12:13 PM
To: Stephan Dunning
Subject: Re: Building dynamic maps using PHP


Stephan Dunning wrote:
> 
> Daniel,
> 
> I have php/mapscript up and running!  I've been looking over all sorts of
> documentation, but I'm still unclear on how certain things work (i.e. some
> syntax, DB connections, javascript & java interaction, etc.).
> I was wondering if you could send me a copy of your gmap75.phtml so I
could
> get a better idea of how to compose my mapscript?
> 

You can download it from:

http://www2.dmsolutions.ca/mapserver/dl/gmap-ms_3.3.012-20001103.zip

-- 
------------------------------------------------------------
 Daniel Morissette                morissette at dmsolutions.ca
                 http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.



More information about the MapServer-users mailing list