cgi post

vijay Mallela vijaym at netscape.com
Sat Sep 4 15:58:04 EDT 1999


how do i do something like this in a python cgi script:

form = cgi.fieldstorage()
if form['foo'] == 'bar':
    loadhttp('spam.com')
please let me know if there is a way to do this..

Right now, I am opening the file and spam.com and then printing it..
what if the file is some where else and I would like to direct the user
to that site..

Thanks
v





More information about the Python-list mailing list