Hi I'm doing this for a project so no need to worry about real world worries such as encription etc. I'm trying to put imported Values into the below form via a seperate php form on a different site. ie my website is a client of an online creditcard server(CCS) and I have to send the info to the online CCS for approval or refusal. Basically I validate the information within my php form and then send the information to the below form on a different site(p.s. I don't store the information on my database and the information transfer will be unencripted) The CCS then takes the information and gives back a 1 for approved and 0 for declined.
The two things I need to know is:
1. How do I fill in the values in the remote form from local variables?
2. Secondly how do I fetch the outcome of the transaction i.e. 1 Approval or 0 Declined.
I have searched the internet and can't find anything so any help would be much obliged.
Cheers sorry if it a very easy query!!!
Code blocks are created by indenting at least 4 spaces
... and can span multiple lines
<form method=get action=http://creditcardserver.com/v.php>
<table>
<TR><TD>First Name?</TD><TD><input type=text name=fname></tD></TR>
<TR><TD>Surname?</TD><TD><input type=text name=sname></tD></TR>
<TR><TD>Number?</TD><TD><input type=text name=number size=16></tD></TR>
<TR><TD>Expiry Month</TD><TD><input type=text name=month size=2></tD></TR>
<TR><TD>Expiry Year</TD><TD><input type=text name=year size=2></tD></TR>
<TR><TD>CCV</TD><TD><input type=text name=ccv size=3></tD></TR>
<TR><TD>Fail?</TD><TD><input type=checkbox name=fail></TD></TR>
<TR><TD>Amount</TD><TD><input type=text name=euro size=4><input type=text
name=cent value=00 size=1></tD></TR>
</table>
<input type=submit>
</form>