An easier way is to use the cgi module.

form = cgi.FieldStorage()

form is a dictionary like object where each key is the parameter and
each entry ahs a 'value' attribute that represents the value.

You can use the ``getform`` function from cgiutils to turn it straight
into a dictionary. See http://www.voidspace.org.uk/python/cgiutils.html

The cgi module handles parsing hte query string for you.

All the best,

Fuzzyman
http://www.voidspace.org.uk/python/index.shtml

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to