Hi; I need to pass a variable from a php script (served by Apache) to a Zope script (served by ZServer). I can't do this as a hidden field in a form since there is no *form* on the php script: indeed, the user never notices the script as it doesn't generate any html. This is a randomly generated variable. How do I communicate it? TIA, BenO
Ben Ocean writes:
I need to pass a variable from a php script (served by Apache) to a Zope script (served by ZServer). You pass control via an HTTP request?
If so, a query string would probably do the job. Background reading, e.g. <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html> Dieter
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') Sorry but I don't remember the zyntax for that in php. Max M. W. Rasmussen, Denmark. New Media Director private: maxmcorp@worldonline.dk work: maxm@normik.dk ----------------------------------------------------- Shipping software is an unnatural act
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Ben Ocean
I need to pass a variable from a php script (served by Apache) to a Zope script (served by ZServer). I can't do this as a hidden field in a form since there is no *form* on the php script: indeed, the user
participants (3)
-
Ben Ocean -
Dieter Maurer -
Max M