getting the current URL
Thomas
thomas at madeforchina.com
Sun Apr 23 10:06:57 EDT 2000
Hi everyone,
I think this is a real easy question, but I can't get it to work.
I have a form on a page. After posting, I am trying to get the url
of the page which it just posted from (the same form will be on many pages)
Ultimately, I want my page to reload itself after submitting the request
.... ie.
def reloadpage():
url= * the page I just submitted from"
print "Status: 302 Found"
print "Uri: %s" % url
Thanks!,
Thomas
Thomas Duterme - IT manager
Madeforchina.com
Technology based marketing tools made for China.
___________________________
Direct Line - (8610) 6417 2665 (ext) 224
Fax - (8610) 6415 1086
Business email: thomas at madeforchina.com
Company URL: www.madeforchina.com
Get a life at www.51go.com
More information about the Python-list
mailing list