/    Sign up×
Community /Pin to ProfileBookmark

PHP Credit Card Data

I’ve done a quick search here and of course the questions, examples and solutions don’t fit. I am successfully using a PHP shopping cart PHP to generate session cookies and I have been using the merchants form on their website because it’s SSL to complete the card form for Submit. I have my own SSL and have succesfully generated a PHP form for this process. However, where the customers total was posted from the PHP script to the credit form on the merchants site, it is not being carried over for my form.
Can anyone help figure out why this field $grandtot is not being posted to my final CCphp.php form? Sorry to be long winded.

Thanks in advance. Let me know if you need sample code.

to post a comment
PHP

32 Comments(s)

Copy linkTweet thisAlerts:
@bokehNov 15.2005 — How are you passing that value?
Copy linkTweet thisAlerts:
@ddewell1authorNov 15.2005 — That's the big ?. The script was set up to pass the "$grandtot" to the merchants form. So the origianl PHP code wasn't changed (except where I changed the Method= POSt Action to the new https: site) when I created my form to accept the same field. I think the shopping cart PHP file is fine but I'm not coding something right in the CC form to receive it. Here is the PHP code for the form. It's basically an HTML but I was told you can't pass PHP data to an HTML Page So I moved it. It's working except it doesn't seem to see or fill in the customer total. At some point I wanted to pass other data like Customer name, address, etc, but I can't get this to work yet. I've sent the bottom half of the form only. Can't send alot of code in these post replies.

<TR>

</TD>

<TR><TD><B>Total Charges :</B></TD><TD>$ <INPUT NAME="Amount" SIZE="25" MAXLENGTH="25" VALUE="0.00"></TD></TR>

<TR><TD>

<TR><TD><TR>

<TR>


<TR>

<TR>

<TR>

<TR><TD><B>Comments :</B></TD><TD><TEXTAREA name=comments cols=25 rows=4 wrap=physical></TEXTAREA>

</TD></TR>

</table>

<P><Center>

<INPUT TYPE="SUBMIT" VALUE="Confirm">

<INPUT TYPE="HIDDEN" NAME="Merch_ID" Value="****">

<INPUT TYPE="HIDDEN" NAME="Bus_Name" Value="DADSOTR">

<INPUT TYPE="HIDDEN" NAME="ReturnURL" Value="http://www.dadsotr.com">

</form>

</td>

</tr>

</table>

</BODY>

</HTML>
Copy linkTweet thisAlerts:
@ddewell1authorNov 15.2005 — the files are located at http://dadsotr.com/webhelp/ so you can extract them and look at both
Copy linkTweet thisAlerts:
@bokehNov 15.2005 — [B]Off topic:[/B]

Have you ever tried [URL=http://validator.w3.org/check?verbose=1&uri=http%3A//dadsotr.com/]validating the html on your homepage[/URL] or have you ever [URL=http://bokehman.com/screen_grab]viewed it with a Gecko browser?[/URL]
Copy linkTweet thisAlerts:
@ddewell1authorNov 15.2005 — Well technically no. The link I gave is not the homepage. I don't want these posts popping up in google so I try not put the website address in here. On a previous problem, searches of my website brought up internal code that someone could use to mess with.

Were you ablle to see the code in the directory I referenced?
Copy linkTweet thisAlerts:
@ddewell1authorNov 15.2005 — I changed the home page to dynamic instead of fixed and checked it Firefox. Should look better now.
Copy linkTweet thisAlerts:
@ddewell1authorNov 16.2005 — Anyone who can "help".

Thanks Doug ?
Copy linkTweet thisAlerts:
@bokehNov 16.2005 — I changed the Method= POSt Action to the new https: site[/QUOTE]So what you are saying is it was working, then you made the above change and now it doesn't work. Is that correct? If so what exactly were the changes made?
Copy linkTweet thisAlerts:
@ddewell1authorNov 17.2005 — no. I have a working cc checkout on the merchant site. I also have a new SSL. I want my PHP file customer total to pass that customer total to the PHP file I created on my SSL site. But I've coded something wrong in either the shopping cart PHP or the new CC checkout PHP Form. I just don't know which. It's not passing the total $grandtot to the CC form.
Copy linkTweet thisAlerts:
@SheldonNov 17.2005 — is it just not posting one $var or any off them. IS it going via sessions or post? From what i understand you cant pass session data from http to https and vice versa.

Try post all of your code for both pages
Copy linkTweet thisAlerts:
@ddewell1authorNov 17.2005 — I see your also a friend of Bill W. I have both of the PHP files in a directory for someone to examine- check here: http://dadsotr.com/webhelp/

I think I have tried doing this Http to http and it didn't work either. These are sessions so the final cc form is dynamic.

Let me know. and many thanks

Doug
Copy linkTweet thisAlerts:
@SheldonNov 17.2005 — Theres no helping when we cant see the php code you are using.

sessions can not be passed via different domains or between http and https.

It will work via post [b]if[/b] your code is correct on both pages.
Copy linkTweet thisAlerts:
@ddewell1authorNov 17.2005 — The code for the whole shopping cart? When I tried to do that, I was limited to charachters. I know I can pass this to different domains because the shopping cart is on my website and the customers total is being passed to the credit card server on a https: site. Let me know which PHP code you want me to post and I'll be happy to do it.

D
Copy linkTweet thisAlerts:
@ddewell1authorNov 17.2005 — Just a quick note that what I am currently doing is passing a customers total $grandtot from my http php file to the credit card company at https:securepay.com. They have there site page for me rigged to accept this field for each customers and it's already there when the customer fills in there info. So I know a PHP session can cross domains and can be passed from http to https. I don't think I even had to change my php file when they set that feature up. Dang, I thought this was a simple booboo.
Copy linkTweet thisAlerts:
@bokehNov 17.2005 — So I know a PHP session can cross domains and can be passed from http to https. I don't think I even had to change my php file when they set that feature up. Dang, I thought this was a simple booboo.[/QUOTE]No it can't. It is possible to send variables accross from one domain to another but certainly not a session. A session relies on a cookie being set on the user's web browser and no web browser will send a cookie of one domain to another domain as it would be a security issue.

You could, if you chose, send the session array (either by post or get) to another domain but not the session itself.
Copy linkTweet thisAlerts:
@ddewell1authorNov 17.2005 — agreed. But the receiving PHP file is not getting the var I'm sending it.

Here is the Method Post line from the Sending PHP File. And the second Code is the receiving PHP file Line where I am trying to get it. I know I am leaving something out of my code in either of these places. If the Cart.php has Method Post to the cc.php, does the cc.php have to have a string Method Get?

[php1] <form name="pal" method="post" action="https://host146.ipowerweb.com/~dadsotrc/orderstest/ccphp.php">[php1]

[php2]<TR><TD><B>Total Charges :</B></TD><TD>$ <INPUT NAME="$grandtot" SIZE="25" MAXLENGTH="25" VALUE="0.00"></TD></TR>[php2]
Copy linkTweet thisAlerts:
@bokehNov 17.2005 — So let's try to get this clear. Your script: php2 collects info from a client, works out the grand total and then that is submitted to [B]your[/B] server. Once the data arrives at the [B]your[/B] server php extracts the sub total from the client's form and sends it to a secure server for processing. The secure server processes the request which in turn sends output to the php script and then the php script sends output back to the client. Is that correct?

Or is it that all steps are carried out by your server except the final one and which is the client submiting the data directly to the secure server?
Copy linkTweet thisAlerts:
@ddewell1authorNov 17.2005 — no but were getting closer. Shopping cart "ezcart.php" collects item purchases on cookies in a session and on checkout-before the cc payment- returns the $grandtot to a second form -Call it a payment form- this form script is inside the "ezcart.php". The form carries logos and links to pay by CC or Paypal. It also displays ONLy the customers total. This form then takes the customers choice and sends that total to either paypal payment screen or the ccphp.php for credit card. The ccphp.php has a Form method Post to send the secure CC data and total to the merchant site for card approval. Now once that happens the merchant handles the process, the PHPs are done. I get an email of payment, the customer gets an approval email. Here is what is "was" like. The Merchant had a standard generic "final.asp" they setup for me to pass the $grandtot to. But this layout was confusing and "bombed" on international orders. They would not accomodate me by changing the layout. So.... here I am trying to create an identical cc form to recieve the total. There form was getiing the total which is a "Must". But mine, which I thought was a copy paste from their script isn't doing it. All I changed in the Ezcart.php was the path where the ccphp.php file was. The strings stayed the same. The only item I want to pass right now is $grandtot. The CC form pops up fine but customer Total is empty.
Copy linkTweet thisAlerts:
@ddewell1authorNov 17.2005 — I should note that the Paypal section is working fine and is properly passing the Total and even the Order Number over to the paypal site.
Copy linkTweet thisAlerts:
@ddewell1authorNov 17.2005 — I have create a test path if it will help you see it. http://www.dadsotr.com/html/complete_shows.html (Then select) The Detective Add to cart button. You'll need to enter bogus info for the country, etc, "Spain or whatever" and then checkout. This takes you to the second Form which is the Payment Choice Form. When you click on the Visa logo you are passed to the ccphp.php.

Let me know.
Copy linkTweet thisAlerts:
@bokehNov 17.2005 — On the final page on your site there are two forms, one for CC and one for paypal. Here is the form tag:

<form name=pal method="[B]get[/B]" action="https://host146.ipowerweb.com/~dadsotrc/html/custpay.html">

Change [B]get[/B] to [B]post[/B]. Test and report back.
Copy linkTweet thisAlerts:
@ddewell1authorNov 17.2005 — OK will do. But.. As I saw your orders coming to me via email I noticed you were using the wrong add to cart button so you were seeing what is live on the site right now. When I try to use POST to send to the "custpay.html" I don't get the form. So what is live is not what were working on. I had to keep something up on the site that was working. Use the Detective Add to cart button" Not the mystery button. that path is using post. same results.
Copy linkTweet thisAlerts:
@bokehNov 17.2005 — Are you in control of [B]ccphp.php[/B] or is it another company? We need to know the names of the Post inputs so they are synchronised with the field names of your form.
Copy linkTweet thisAlerts:
@ddewell1authorNov 17.2005 — yes, absolutely, This what I hope will eventually be the customers cc form. What do you see in this that needs changing?
Copy linkTweet thisAlerts:
@ddewell1authorNov 17.2005 — Question : I may need 2 different Posts. I need 1 in the ccphp.php code to send the CC info to the merchant.It looks like this: The second PHP string is the POST string from the shopping cart. Yes they are different.

[code=php] <FORM METHOD="POST" ACTION="https://www.securepay.com/payment/final.asp"> [code=php]

[code=php]<form name="pal" method="post" action="https://host146.ipowerweb.com/~dadsotrc/orderstest/ccphp.php">[code=php]
Copy linkTweet thisAlerts:
@bokehNov 17.2005 — Can you post the code from [B]ccphp.php[/B] please
Copy linkTweet thisAlerts:
@ddewell1authorNov 18.2005 — Tried. Too many charchters for the reply box. I tried to tell someone earlier. You want me to send it to you?
Copy linkTweet thisAlerts:
@bokehNov 18.2005 — Split it in two! You are allowed to send up to 10,000 chars/post.
Copy linkTweet thisAlerts:
@ddewell1authorNov 18.2005 — </HEAD>


<BODY bgcolor=#CC9999 vlink="#FFFF00">

<table border="0" width="900" cellpadding="4">

<tr>

<td width="100%" colspan="2" valign="top">

<h3><img src="https://host146.ipowerweb.com/~dadsotrc/assets/images/verisign2.gif" width="90" height="40"> &nbsp; <script src=""></script><!--<A href="javascript?penCertDetails()"></A>--> &nbsp;

<br><font face="Arial">Please fill in the following information:</font></h3>

</td>

</tr>

<tr>

<td width="120" bgcolor="#CC9999" valign="top">

<p><font color="FFFFFF"font face="Arial" SIZE="2"></font></p>

<br>

</td>

<td width="480">

</form>

<FORM METHOD="POST" ACTION="https://www.securepay.com/payment/final.asp">

<TABLE border=0 cellPadding=5 cellSpacing=2 width=100% height="510">

<TR>
<TD colspan=2 bgColor=darkblue><FONT color=white face="" style="BACKGROUND-COLOR: #00008b">

<b>Billing information EXACTLY as it appears on your credit card statement.</b></font></TD>

</TD></TR>



<TR>
<TD align="right" height="1"><font face="Arial" size="2"><b>Full Name:</b></font></TD>
<TD bgcolor="#FFCC99" height="1">
<font face="Arial" size="2">
<INPUT name=name size="32" value=""></font></TD></TR>

<TR>
<TD align="right" height="1"><font face="Arial" size="2"><b>Address:</b></font></TD>
<TD bgcolor="#FFCC99" height="1">
<font face="Arial" size="2">
<INPUT name=street size="46" value=""></font></TD></TR>
<TR>
<TD align="right" height="25"><font face="Arial" size="2"><b>City:</b></font></TD>
<TD bgcolor="#FFCC99" height="25">
<font face="Arial" size="2">
<INPUT name=City size="20" value=""></font></TD></TR>
<TR>
<TD align="right" height="25"><font face="Arial" size="2"><b>State/Province:</b></font></TD>
<TD bgcolor="#FFCC99" height="25">
<font face="Arial" size="2"> <B><i>Orders outside of USA and Canada select Non-US.</I><br>
</font>
<select name="State">

<option SELECTED value=""></option>

<option SELECTED value="AL">AL</option>
<option value="AK">AK</option>
<option value="AZ">AZ</option>
<option value="AR">AR</option>
<option value="CA">CA</option>
<option value="CO">CO</option>
<option value="CT">CT</option>
<option value="DE">DE</option>
<option value="DC">DC</option>
<option value="FL">FL</option>
<option value="GA">GA</option>
<option value="HI">HI</option>
<option value="ID">ID</option>
<option value="IL">IL</option>
<option value="IN">IN</option>
<option value="IA">IA</option>
<option value="KS">KS</option>
<option value="KY">KY</option>
<option value="LA">LA</option>
<option value="ME">ME</option>
<option value="MD">MD</option>
<option value="MA">MA</option>
<option value="MI">MI</option>
<option value="MN">MN</option>
<option value="MS">MS</option>
<option value="MO">MO</option>
<option value="MT">MT</option>
<option value="NE">NE</option>
<option value="NV">NV</option>
<option value="NH">NH</option>
<option value="NJ">NJ</option>
<option value="NM">NM</option>
<option value="NY">NY</option>
<option value="NC">NC</option>
<option value="ND">ND</option>
<option value="OH">OH</option>
<option value="OK">OK</option>
<option value="OR">OR</option>
<option value="PA">PA</option>
<option value="RI">RI</option>
<option value="SC">SC</option>
<option value="SD">SD</option>
<option value="TN">TN</option>
<option value="TX">TX</option>
<option value="UT">UT</option>
<option value="VT">VT</option>
<option value="VI">VI</option>
<option value="VA">VA</option>
<option value="WA">WA</option>
<option value="WV">WV</option>
<option value="WI">WI</option>
<option value="WY">WY</option>
<option value="SP">SIPAN</option>
<option value="GU">GUAM</option>
<option value="PR">PR</option>
<option value="AB">Alberta-CA</option>
<option value="BC">British Columbia-CA</option>
<option value="MB">Manitoba-CA</option>
<option value="NB">New Brunswick-CA</option>
<option value="NF">Newfoundland-CA</option>
<option value="NT">Northwest Territory-CA</option>
<option value="NS">Nova Scotia-CA</option>
<option value="NT">Nunavut Territory-CA</option>
<option value="ON">Ontario-CA</option>
<option value="PE">Prince Edward-CA</option>
<option value="QC">Quebec-CA</option>
<option value="SK">Saskatchewan-CA</option>
<option value="YT">Yukon Territory-CA</option>
<option value="NONUS">Non-US</option>
</select>
</font></TD></TR>
Copy linkTweet thisAlerts:
@ddewell1authorNov 18.2005 — <OPTION value=Algeria>Algeria</OPTION>

<OPTION value="American Samoa">American Samoa</OPTION> <OPTION

value=Anguilla>Anguilla</OPTION> <OPTION

value="Antigua &amp; Barbuda">Antigua &amp; Barbuda</OPTION> <OPTION

value=Argentina>Argentina</OPTION> <OPTION

value=Australia>Australia</OPTION> <OPTION value=Austria>Austria</OPTION>

<OPTION value=Bahamas>Bahamas</OPTION> <OPTION

value=Bahrain>Bahrain</OPTION> <OPTION value=Bangladesh>Bangladesh</OPTION>

<OPTION value=Barbados>Barbados</OPTION> <OPTION

value=Belguim>Belguim</OPTION> <OPTION value=Belize>Belize</OPTION> <OPTION

value=Bequia>Bequia</OPTION> <OPTION value=Bermuda>Bermuda</OPTION> <OPTION

value=Bolivia>Bolivia</OPTION> <OPTION

value="British Virgin Islands">British Virgin Islands</OPTION> <OPTION

value=Brazil>Brazil</OPTION> <OPTION value=Cameroon>Cameroon</OPTION>

<OPTION value=Canada>Canada</OPTION> <OPTION value="Cayman Islands">Cayman

Islands</OPTION> <OPTION value=Chile>Chile</OPTION> <OPTION

value=China>China</OPTION> <OPTION value=Colombia>Colombia</OPTION> <OPTION

value=Congo>Congo</OPTION> <OPTION value="Costa Rica">Costa Rica</OPTION>

<OPTION value=Croatia>Croatia</OPTION> <OPTION value=Cyprus>Cyprus</OPTION>

<OPTION value="Czech Republic">Czech Republic</OPTION> <OPTION

value=Denmark>Denmark</OPTION> <OPTION value=Dominica>Dominica</OPTION>

<OPTION value="Dominican Republic">Dominican Republic</OPTION> <OPTION

value=Ecuador>Ecuador</OPTION> <OPTION value=Egypt>Egypt</OPTION> <OPTION

value="El Salvador">El Salvador</OPTION> <OPTION

value=Ethiopia>Ethiopia</OPTION> <OPTION value=Fiji>Fiji</OPTION> <OPTION

value=Finland>Finland</OPTION> <OPTION value=France>France</OPTION> <OPTION

value=Gabon>Gabon</OPTION> <OPTION value=Germany>Germany</OPTION> <OPTION

value=Ghana>Ghana</OPTION> <OPTION value=Greece>Greece</OPTION> <OPTION

value=Guadaloupe>Guadaloupe</OPTION> <OPTION value=Guam>Guam</OPTION>

<OPTION value=Guatamala>Guatamala</OPTION> <OPTION

value=Guyana>Guyana</OPTION> <OPTION value=Haiti>Haiti</OPTION> <OPTION

value=Honduras>Honduras</OPTION> <OPTION value="Hong Kong">Hong

Kong</OPTION> <OPTION value=Hungary>Hungary</OPTION> <OPTION

value=Iceland>Iceland</OPTION> <OPTION value=India>India</OPTION> <OPTION

value=Indonesia>Indonesia</OPTION> <OPTION value=Iran>Iran</OPTION> <OPTION

value=Iraq>Iraq</OPTION> <OPTION value=Ireland>Ireland</OPTION> <OPTION

value=Israel>Israel</OPTION> <OPTION value=Italy>Italy</OPTION> <OPTION

value="Ivory Coast">Ivory Coast</OPTION> <OPTION

value=Jamaica>Jamaica</OPTION> <OPTION value=Japan>Japan</OPTION> <OPTION

value=Jordan>Jordan</OPTION> <OPTION value=Kenya>Kenya</OPTION> <OPTION

value=Korea>Korea</OPTION> <OPTION value=Kuwait>Kuwait</OPTION> <OPTION

value=Liberia>Liberia</OPTION> <OPTION value=Libya>Libya</OPTION> <OPTION

value=Lichtenstein>Lichtenstein</OPTION> <OPTION

value=Luxembourg>Luxembourg</OPTION> <OPTION value=Malawi>Malawi</OPTION>

<OPTION value=Malaysia>Malaysia</OPTION> <OPTION value=Mali>Mali</OPTION>

<OPTION value=Malta>Malta</OPTION> <OPTION value=Mexico>Mexico</OPTION>

<OPTION value=Manaco>Manaco</OPTION> <OPTION

value=Montserrat>Montserrat</OPTION> <OPTION value=Morocco>Morocco</OPTION>

<OPTION value=Mustique>Mustique</OPTION> <OPTION

value=Namibia>Namibia</OPTION> <OPTION value=Nepal>Nepal</OPTION> <OPTION

value=Netherlands>Netherlands</OPTION> <OPTION value="New Zealand">New

Zealand</OPTION> <OPTION value=Nicaragua>Nicaragua</OPTION> <OPTION

value=Nigeria>Nigeria</OPTION> <OPTION value=Norway>Norway</OPTION> <OPTION

value=Oman>Oman</OPTION> <OPTION value=Pakistan>Pakistan</OPTION> <OPTION

value=Panama>Panama</OPTION> <OPTION value="Papua New Guinea">Papua New

Guinea</OPTION> <OPTION value=Paraguay>Paraguay</OPTION> <OPTION

value=Peru>Peru</OPTION> <OPTION value=Philipines>Philipines</OPTION>

<OPTION value=Poland>Poland</OPTION> <OPTION

value=Portugal>Portugal</OPTION> <OPTION value=Qatar>Qatar</OPTION> <OPTION

value=Romania>Romania</OPTION> <OPTION value=Russia>Russia</OPTION> <OPTION

value=Saipan>Saipan</OPTION> <OPTION value="San Marino">San Marino</OPTION>

<OPTION value="Saudia Arabia">Saudia Arabia</OPTION> <OPTION

value=Senegal>Senegal</OPTION> <OPTION value=Singapore>Singapore</OPTION>

<OPTION value="South Africa">South Africa</OPTION> <OPTION

value=Spain>Spain</OPTION> <OPTION value="St. Kitts">St. Kitts</OPTION>

<OPTION value="St. Vincent">St. Vincent</OPTION> <OPTION

value=Suriname>Suriname</OPTION> <OPTION value=Sweden>Sweden</OPTION>

<OPTION value=Switzerland>Switzerland</OPTION> <OPTION

value=Taiwan>Taiwan</OPTION> <OPTION value=Tanzania>Tanzania</OPTION>

<OPTION value=Thailand>Thailand</OPTION> <OPTION

value="Trinadad &amp; Tobago">Trinadad &amp; Tobago</OPTION> <OPTION

value=Tunisia>Tunisia</OPTION> <OPTION value=Turkey>Turkey</OPTION> <OPTION

value="United Arab Emirates">United Arab Emirates</OPTION> <OPTION

value="United Kingdom">United Kingdom</OPTION>

<OPTION SELECTED value="United States">United States</OPTION>

<OPTION value=Uraguay>Uraguay</OPTION>

<OPTION value=Venezuela>Venezuela</OPTION>

<OPTION value=Yemen>Yemen</OPTION> <OPTION

value=Zimbabwe>Zimbabwe</OPTION></SELECT> </TD></TR>

<!-- ASP code, needed to create table of products, do not delete -->

<Input type="hidden" name="shipadd" Value="No">

<Input type="hidden" name="showship" Value="No">

<Input type="hidden" name="fshipmethod" Value="None">

</TR>
<TR>
<TD colspan=2 bgColor=darkblue><FONT color=white face="" style="BACKGROUND-COLOR: #00008b">
<B>Additional information required for processing your order.</B></font></TD>
</TD></TR>

<TR>
<TD align="right" height="25"><font face="Arial" size="2"><b>Telephone:</b></font></TD>
<TD bgcolor="#FFCC99" height="25">
<font face="Arial" size="2">
<INPUT name=phone size="20" value=""></font></TD></TR>
<TR>
<TD align="right" height="25"><font face="Arial" size="2"><b>E-mail:</b></font></TD>
<TD bgcolor="#FFCC99" height="25">
<font face="Arial" size="2">
<INPUT name=email style="HEIGHT: 22px; WIDTH: 238px" size="34" value=""></font></TD></TR>

<TR>
<TD align="right" height="25"><font face="Arial" size="2"><b>Fax:</b></font></TD>
<TD bgcolor="#FFCC99" height="25">
<font face="Arial" size="2">
<INPUT name=fax size="20" value=""><B><i>Optional</i></b></font></TD>
</TR>

<TR>
</TR>



<TR>

<TD colspan=2 bgColor=darkblue><FONT color=white face="" style="BACKGROUND-COLOR: #00008b">

<STRONG>Payment Information</STRONG></FONT>

</TD>

</TR>

<TR>
<TD align="right" height="25"><font face="Arial" size="2"><b>Payment Type:</b></font></TD>
<TD bgcolor="#FFCC99" height="25" align="left">
<font face="Arial" size="2">
<SELECT id=select1 name="paymentm">


<OPTION VALUE="VISA">Visa</OPTION>
<OPTION VALUE="MASTERCARD">MasterCard</OPTION>
<OPTION VALUE="AMEX">American Express</OPTION>


</SELECT>

</TD>

<TR>

<TD><B>Card Number: <i></i></B></TD><TD><INPUT NAME="cc_number"SIZE="16" MAXLENGTH="16"><i>(No Spaces or Dashes)</i></TD></TR>

<TR>

<TR><TD align="right" height="25"><font face="Arial" size="2"><b>Exp Month:</b></font></TD>

<TD bgcolor="#FFCC99" height="25">

<font face="Arial" size="2"> <SELECT name="Month">


<option value="01">Jan</option>
<option value="02">Feb</option>
<option value="03">Mar</option>
<option value="04">Apr</option>
<option value="05">May</option>
<option value="06">Jun</option>
<option value="07">Jul</option>
<option value="08">Aug</option>
<option value="09">Sep</option>
<option value="10">Oct</option>
<option value="11">Nov</option>
<option value="12">Dec</option>


</SELECT>

<TR>

<TR><TD align="right" height="25"><font face="Arial" size="2"><b>Exp Year:</b></font></TD>

<TD bgcolor="#FFCC99" height="25">

<font face="Arial" size="2"> <SELECT name="Year">


<option value="05">2005</option>
<option value="06">2006</option>
<option value="07">2007</option>
<option value="08">2008</option>
<option value="09">2009</option>
<option value="10">2010</option>
<option value="11">2011</option>
<option value="12">2012</option>
<option value="13">2013</option>
<option value="14">2014</option>



</SELECT>

<TR>

</TD>

<TR><TD><B>Total Charges :</B></TD><TD>$ <INPUT NAME="$grandtot" SIZE="25" MAXLENGTH="25" VALUE="0.00"></TD></TR>

<TR><TD>

<TR><TD><TR>

<TR>


<TR>

<TR>

<TR>

<TR><TD><B>Comments :</B></TD><TD><TEXTAREA name=comments cols=25 rows=4 wrap=physical></TEXTAREA>

</TD></TR>

</table>

<P><Center>

<INPUT TYPE="SUBMIT" VALUE="Confirm">

<INPUT TYPE="HIDDEN" NAME="Merch_ID" Value="*****">

<INPUT TYPE="HIDDEN" NAME="Bus_Name" Value="*
**
*">

<INPUT TYPE="HIDDEN" NAME="ReturnURL" Value="http://www.*
****.com">

</form>

</td>

</tr>

</table>

</BODY>

</HTML>
Copy linkTweet thisAlerts:
@bokehNov 19.2005 — Oh dear... That is a plain html form. if you want the variables auto load from the previous form you need to use PHP to fill them in. here is an example, change:

[I]<INPUT name=name size="32" value=""></font></TD></TR>[/I]

to

[I]<INPUT name=name size="32" value="[B]<?php echo @$_POST['name']; ?>[/B]"></font></TD></TR>[/I]
Copy linkTweet thisAlerts:
@ddewell1authorNov 19.2005 — I got some additional help last night and this was too noticed. There were a few other changes made as well and the form is now live on the site. We can effectively close the Post and I thank you 1000 times for staying with it. I appreciate your commitment to Forum and folks like me.

Thanks

D
×

Success!

Help @ddewell1 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...