TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 07-20-2008, 04:46 PM   #1 (permalink)
The Wanderer
 
Join Date: Dec 2007
Posts: 6
Thanks: 3
patmagpantay is on a distinguished road
Default Form to submit to another form

I made a form in my website (PHP), I would like it so that when the submit button is clicked the data on my form fields will be forwarded to another form on my shopping cart page? Thanks in advance!
patmagpantay is offline  
Reply With Quote
Old 07-20-2008, 06:30 PM   #2 (permalink)
The Wanderer
 
Join Date: Dec 2007
Posts: 6
Thanks: 3
patmagpantay is on a distinguished road
Default

Here is my form by the way

<form action="" method="get">
<table width="250" border="0">
<tr>
<td>Name</td>
<td><input name="name" type="text" class="textfield" id="name" /></td>
</tr>
<tr>
<td>E-mail</td>
<td><input name="email" type="text" class="textfield" id="email" /></td>
</tr>
<tr>
<td>Zip</td>
<td><input name="submit" type="text" class="textfield" id="submit" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" name="Sumbit" id="Sumbit" value="Submit" />
<input type="reset" name="Reset" id="Reset" value="Reset" /></td>
</tr>
<tr>
<td colspan="2"><div align="center"><br />
<img src="Images/form-images/13.gif" width="94" height="54" /><img src="Images/form-images/14.gif" width="94" height="54" /><br />
</div></td>
</tr>
</table>
</form>

and here is the link where i want the values when the "submit" button is clicked.

http://1.tradeguide.pay.clickbank.net/


Thanks!
patmagpantay is offline  
Reply With Quote
Old 07-20-2008, 08:40 PM   #3 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

Just out of curiousity, why have them fill out a form on your page first if they have to fill it out on clickbank anyways?

Change the name of the email text input to "emal", and the name of the zipcode text input to "zipc" and then add http://1.tradeguide.pay.clickbank.net/ as your form action.
-m
delayedinsanity is offline  
Reply With Quote
The Following User Says Thank You to delayedinsanity For This Useful Post:
patmagpantay (07-20-2008)
Old 07-20-2008, 09:51 PM   #4 (permalink)
The Wanderer
 
Join Date: Dec 2007
Posts: 6
Thanks: 3
patmagpantay is on a distinguished road
Default

thank you for replying but unfortunately it didn't work. I tried in both post and get.. by the way i made this so that people will wen redirected to my shopping cart has to fill up just the credit card information. and where did you get the values "emal" and "zipc? thanks?
patmagpantay is offline  
Reply With Quote
Old 07-20-2008, 10:00 PM   #5 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

From their form, it worked for me using GET to inject the data. When I go there, I get the full url:

https://ssl.clickbank.net/order/orde...=&ctry=&zipc=&

so I just built a form that would supply that link with name/emal/ and zipc
-m
delayedinsanity is offline  
Reply With Quote
The Following User Says Thank You to delayedinsanity For This Useful Post:
patmagpantay (07-21-2008)
Old 07-21-2008, 05:37 AM   #6 (permalink)
The Wanderer
 
Join Date: Dec 2007
Posts: 6
Thanks: 3
patmagpantay is on a distinguished road
Default

I don't know how to thank you for your patience but can you please cut and paste the codes for the form you used in here ill just cut and paste it please :(

THANK YOU!
patmagpantay is offline  
Reply With Quote
Old 07-21-2008, 06:29 AM   #7 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

Upon further inspection I can't get the zip to work, only the name and email, and all I did was this;

Code:
<form action="http://1.tradeguide.pay.clickbank.net/" method="get">
<input type="text" name="name" value="" />
<input type="text" name="email" value="" />
<input type="submit" />
</form>
delayedinsanity is offline  
Reply With Quote
The Following User Says Thank You to delayedinsanity For This Useful Post:
patmagpantay (07-21-2008)
Old 07-21-2008, 07:22 AM   #8 (permalink)
The Wanderer
 
Join Date: Dec 2007
Posts: 6
Thanks: 3
patmagpantay is on a distinguished road
Default

oh my oh my you are a legend mate!! TOAST! but the zip code doesnt seem to work :( is there anyway possible hmmm
patmagpantay is offline  
Reply With Quote
Old 07-21-2008, 07:42 AM   #9 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

This may not produce any results, but have you tried contacting ClickBank and asking them if they have anything set up to allow for people using their services to do such a thing?
-m
delayedinsanity is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

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


All times are GMT. The time now is 05:04 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design