Determining from which web page a cgi script is invoked?
cm
carlos.mora at atisa.es
Tue Mar 10 05:15:43 EDT 2009
davidgould at davidgould.com 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
Regards,
Carlos.
More information about the Python-list
mailing list