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

trash.mail@gmx.ch trash.mail@gmx.ch
Wed, 24 Apr 2002 13:16:18 +0200


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=FCssen
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=20

-----Urspr=FCngliche 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=3D"http://website/folder/document?variable=3Dtry-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=20
> 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=20
back.


_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -=20
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )