CGI question
Dan Sommers
me at privacy.net
Thu Jan 5 06:45:01 EST 2006
On 5 Jan 2006 02:54:25 -0800,
"sophie_newbie" <paulgeeleher at gmail.com> wrote:
> I was wondering if there was a way to extract everyting in the url
> after the "?" question mark in one go.
[snip]
> Is there any easy way of getting the results.cgi program to read this
> entire URL (or even just the bit after the question mark) ...
import os
query_string = os.environ['QUERY_STRING']
HTH,
Dan
--
Dan Sommers
<http://www.tombstonezero.net/dan/>
More information about the Python-list
mailing list