Hey, did you see the word "varibale" are you shure you use the correct word? I think it should call "variable" ---- REQUEST.form['varibale'] ---- Mit freundlichen Grüssen Roger Ineichen ___________________________ Projekt01 GmbH www.projekt01.ch Langackerstrasse 8 6330 Cham phone +41 (0)41 781 01 78 mobile +41 (0)79 340 52 32 fax +41 (0)41 781 00 78 email r.ineichen@projekt01.ch ___________________________ END OF MESSAGE -----Ursprüngliche Nachricht----- Von: zope-admin@zope.org [mailto:zope-admin@zope.org] Im Auftrag von Harry Wilkinson Gesendet: Mittwoch, 24. April 2002 12:00 An: Pascal Samuzeau; zope@zope.org Betreff: Re: [Zope] How to get the variable in an URL ? On Wednesday 24 April 2002 11:58 am, 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???
Sincerily PS -------------------------------------------------- Oreka ! Nous sommes l'internet moins cher ! Surfez 25% moins cher avec http://www.oreka.com
Just use REQUEST['variable']. The request object will find it and hand it back. _______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )