[Cartoweb-users] Re: $_ENV['CW3_PROJECT'], and other variables
mhanzo at yahoo.com
Tue Jan 16 12:13:06 EST 2007
That is what I am looking for.
Still, I got some questions about filterGetRequest()
When using a GET request, how should the URL be
mounted? For example, by having the
ClientRecenterExample.php just like the recenter
example, how should the GET request URL look like?
--- Alexandre Saunier
<alexandre.saunier at camptocamp.com> wrote:
> you may directly load a given CartoWeb "state" by
> calling CartoWeb URL
> with some special GET (or POST) parameters.
> For CW3.3 see:
> CVS version has some extra parameters:
> Max Ueda wrote:
> > Hi again,
> > Hm, I forgot to say, I was also looking for
> > that works like those url communicating stuff
> > something done by a webpage through url lines,
> > Can it be done?
> > Thanks again!
> > Max
> > --- Max Ueda <mhanzo at yahoo.com> wrote:
> >>What for is the $_ENV array?
> >>The question I have may sound stupid, but, I'm out
> >>ideas, and this is the last one that came.
> >>I need to have access from a web application to
> >>template variables of the Cartoweb Application I'm
> >>For example, I have the Cartoweb Application and
> >>plugins, and a web application (one of those
> >>that does some database retrieval operations and
> >>displays them as html pages). All I need is to
> >>the values retrieved from that application to the
> >>Cartoweb Application, without accessing the
> >>MyProject.php file explicitly.
> >>In other words, all I need is to use the retrieved
> >>data from my web application to use the Cartoweb
> >>Plugins I've developed (mostly, recentering and
> >>outline) without having to access the plugin
> >>For example, I retrieve some data (lat/long
> >>coordinates, street&number) from my webapp, and
> >>click a submit button, I need it to transmit the
> >>to the CArtoweb application, and then, it displays
> >>main CW3 Project page with the recentered
> >>(that are related to the item I've retrieved from
> >>web application) on it.
> >>Is there any other way of doing that without
> >>access such variables (for example, the $_REQUEST
> >>$_POST from PHP)?
> >>Thanks in advance!
> >>Max Ueda
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
More information about the Cartoweb-users