Predefined Variables
Piet van Oostrum
piet at cs.uu.nl
Fri Jul 24 14:39:46 EDT 2009
>>>>> Scott David Daniels <Scott.Daniels at Acm.Org> (SDD) wrote:
>SDD> Stephen Cuppett (should have written in this order):
>>> "Fred Atkinson" <fatkinson at mishmash.com> wrote ...
>>>> Is there a pre-defined variable that returns the GET line
>>>>
>>>> (http://www.php.net/index.php?everythingafterthequestionmark) as a
>>>> single variable (rather than individual variables)?
>>> os.environment('QUERY_STRING')
>SDD> Maybe you mean:
>SDD> os.environ['USER']
Let's take the best of both:
os.environ['QUERY_STRING']
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org
More information about the Python-list
mailing list