GET/POST Data Array in Python?

Fazer faizan at jaredweb.com
Mon Jul 28 13:58:38 EDT 2003


Skip Montanaro <skip at pobox.com> wrote in message news:<mailman.1059336280.17075.python-list at python.org>...
> faizan> I am making a simple Pythong CGI script that collects data from
>     faizan> a form.  When the Python CGI Script is called, I wish to gather
>     faizan> all the POST variables and display all their values.  So, I was
>     faizan> wondering if all the POST data is collected in an array like in
>     faizan> PHP where I just go through all keys and display their values?
> 
> Sure.  For an example, visit:
> 
>     http://www.musi-cal.com/~skip/python/
> 
> and search for "CGI Environment Printer".
> 
> Skip


Thanks a lot!  It really helped me out!




More information about the Python-list mailing list