[Zope] How to get the variable in an URL ?

hans hans@beehive.de
Wed, 24 Apr 2002 12:08:33 +0100


Pascal Samuzeau wrote:

> Hello,
>
> I have a link as :
>
> <a href="http://website/folder/document?variable=try-it">Try</a>
>
> I want to get the variable in my document.
>
> I did REQUEST.form['varibale']. But it doesn't work, of cource, I
> haven't a form.
>
> What i the syntax t oget this variable???

maybe REQUEST['variable']?
whats in your REQUEST (is "variable" present?)?
-------------------------------------------------------------
Who's got only a hammer sees the world as a nail
hans augustin  (software developer)           hans@beehive.de
beehive elektronische medien GmbH       http://www.beehive.de
phone: +49 30 847-82 0                  fax: +49 30 847-82 299