Determining from which web page a cgi script is invoked?

davidgould at davidgould.com davidgould at davidgould.com
Tue Mar 10 00:36:45 EDT 2009


Given a webpage test.html that has a form with a cgi script, how can
you determine inside the cgi script the name of the webpage that
invoked the script?

I have many different html pages that use a common cgi script for form
processing and want to determine the name of the webpage.

Thanks.



More information about the Python-list mailing list