cgi script: get the url of this page

Matt Price matt.price at utoronto.ca
Mon Aug 9 14:48:54 EDT 2004


A super simple question:

is there a standard trick to get the url of the current page in a cgi
script, or the url from which form data has been passed??  I want to
embed the name of the current page in a form field for two reasons:
(1) sometimes I want to send form data to the current page;
(2) sometimes I want to know where the daa came from, so I can add
that information to a database.  

thanks again,

Matt


-------------------------------------------
Matt Price	    matt.price at utoronto.ca
History Department, University of Toronto
(416) 978-2094
--------------------------------------------



More information about the Python-list mailing list