Determining from which web page a cgi script is invoked?

cm carlos.mora at
Tue Mar 10 10:15:43 CET 2009

davidgould at escribió:
> 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.

quick&dirty: Add a hidden form var with the page/form name



More information about the Python-list mailing list