I have a CGI form created that works great. However, I'd like to make the Submit button not only submit the form, but redirect the user to Paypal. The problem is, I can't use a simple redirect line because Paypal's code is actually a referrer to another form. Code is below:
<form action=" https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src=" https://www.paypal.com/en_US/i/btn/x...tcc-donate.gif" border="0" name="submit" alt="Make
payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src=" https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="encrypted" value="---(all encrypted)---">
</form>
Can that one button perform both a submission of the form and a redirect to the above form?
Thanks, your help is greatly appreciated.
__________________
Me: "Sir, do you have a firewall?"
EU: "Yeah, between the house and the garage . . ."
|