I created a CGI form mailer script that would keep individual email addresses private.
 
The emailer works fine and I have created similar scripts that work.  However, I wanted to forward the info from a form without having the script return any content.  So if there are no errors, the visitor would only get a _javascript_ alert thanking them for contacting us, no page change is made.
 
I've tried a couple of things and either get a 500 error or the browser tries to download the CGI script.  I have a feeling that it has to do with HTTP headers.  Except for content-type:, I don't know how to properly use HTTP headers from within a python CGI script.
 
Is there a way to submit form data to a CGI script and not have anything returned?
 
Thanks,
 
-- Rob
 
 
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to