Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 09-14-2006, 02:21 PM CGI Form Question
Granwalla's Avatar
Average Talker

Posts: 15
Trades: 0
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 . . ."
Granwalla is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-14-2006, 05:29 PM Re: CGI Form Question
millwalll's Avatar
Webmaster Talker

Posts: 674
Name: James
Location: KENT
Trades: 3
hum to be honest i dont think you can do it that way it may be possible is to use php but im not that great on php
millwalll is offline
Reply With Quote
View Public Profile Visit millwalll's homepage!
 
Reply     « Reply to CGI Form Question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12514 seconds with 12 queries