[Zope] Passing a Variable from PHP

Ben Ocean zope@thewebsons.com
Sun, 02 Dec 2001 07:04:32 -0800


At 11:04 AM 12/2/01 +0100, you wrote:
>Sorry I overlooked your mail.
>
>But the answer is easy. If you send a querystring like that to zope, Zope
>automatically knows the value, and you can get to it like <dtml-var somevar>

Cool! Should have known...
Thanks!
BenO


>Or any of the otyer ways mentioned in the dtml Zope book.
>
>regards Max M
>
>Max M. W. Rasmussen,    Denmark.   New Media Director
>private: maxmcorp@worldonline.dk work: maxm@normik.dk
>-----------------------------------------------------
>Shipping software is an unnatural act
>
> > -----Original Message-----
> > From: Ben Ocean [mailto:zope@thewebsons.com]
> > Sent: Thursday, November 29, 2001 12:36 PM
> > To: Max M
> > Subject: RE: [Zope] Passing a Variable from PHP
> >
> >
> > At 09:45 PM 11/28/01 +0100, you wrote:
> > > > the script as it doesn't generate any html. This is a
> > randomly generated
> > > > variable. How do I communicate it?Y
> > >
> > >You just put it in your querystring and then do a:
> > >
> > >    response.redirect('zopeurl?somevar=qh35wq3453jwqk')
> >
> > Oh, sure, it's easy enough to write the URL/query string in PHP,
> > but how do
> > I get Zope to capture the value of the variable? How do I get
> > Zope to know
> > that somevar=qh35wq3453jwqk?
> > TIA,
> > BenO
> >
> >
> >