heh heh. just finished this script an hour ago. #3. passing variables implicitly <dtml-if QUERY_STRING> <dtml-call "REQUEST.set('URLVariable',QUERY_STRING)"> </dtml-if> This assumes that there is a single URL variable that is not defined. www.foo.com?bar so...bar==QUERY_STRING Hope that helps. I think there is a how-to on zope.org but I couldnt find it... -Trevor
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Ben Ocean Sent: Saturday, December 01, 2001 10:33 PM To: zope@zope.org Subject: [Zope] A Couple of Questions
Hi; 1. If I have a string with characters that are illegal to pass into an URL, such as whitespace, how do I encode them? 2. How do I decode them? 3. How do I capture a variable that is sent to me from another Web site that is appended to the URL after a question mark? TIA, BenO
_______________________________________________ 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 )