Random X and Y Variables popping up

visionofdesign

New Member
I am creating a shopping cart with PHP, and I built a form using the GET method. When I submit the form, two variables show up in the URL. One x variable and one y variable, and their values are just random numbers that change every time I submit the form. I have ABSOLUTELY no idea what is going on here... has anybody ever heard of something like this? I'm stumped.
 

[tab]

Opera/Firefox on Debian
Staff member
What are the fields in your form? Maybe you could include a link (or the code for the form) here...

Any javascript on the page that submits the form?
 

visionofdesign

New Member
This is the code...

<form method="GET" action="cart_processor.php">
<table border="0" cellspacing="1" cellpadding="0" class="carttable">
<tr class="carttableheader">
<td><b>Remove</b></td>
<td><b>Product Name</b></td>
<td><b>Description</b></td>
<td><b>Qty</b></td>

<td><b>Price</b></td>
<td><b>Extended</b></td>
</tr>
<tr class="row0">
<td><input type="checkbox" name="DRSB_remove" value="1"></td>
<td>Sobe Generic</td>
<td>Sobe Drink</td>

<td><input type="text" name="DRSB_qty" value="1" size="1" maxlength="2" /></td>
<td align="right">2.15</td>
<td align="right">2.15</td>
</tr>
<tr class="row1">
<td><input type="checkbox" name="MT98_remove" value="1"></td>
<td>Monkey Tongue</td>

<td>This is a monkey tongue with bumps on it.</td>
<td><input type="text" name="MT98_qty" value="1" size="1" maxlength="2" /></td>
<td align="right">545.99</td>
<td align="right">545.99</td>
</tr>
<tr class="row0">
<td><input type="checkbox" name="PHSSP777_remove" value="1"></td>

<td>Samsung p777</td>
<td>Samsung p777 Camera Flip Phone with MP3 player.</td>
<td><input type="text" name="PHSSP777_qty" value="1" size="1" maxlength="2" /></td>
<td align="right">10.00</td>
<td align="right">10.00</td>
</tr>
<tr class="carttablepricing">

<td colspan="4" rowspan="4" align="center">This could be some information.</td>
<td align="right"><b>subtotal</b></td>
<td align="right">558.14</td>
</tr>
<tr class="carttablepricing">
<td align="right"><b>Tax</b></td>
<td align="right">40.47</td>

</tr>
<tr class="carttablepricing">
<td align="right"><b>Shipping</b></td>
<td align="right">4.00</td>
</tr>
<tr class="carttablepricing">
<td align="right"><b>Total</b></td>

<td align="right">602.61</td>
</tr>
<tr class="carttablefooter">
<td colspan="6">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td align="right"><a href="/shoppingcart/add.php?action=destroycart"><img src="images/emptycart.jpg" border="0"></a></td>
<td align="right"><input type="hidden" name="action" value="updatecart"><input type="image" src="images/updatecart.jpg"></form></td>

<td align="right"><a href="index.php"><img src="images/shopmore.jpg" border="0"></a></td>
<td align="right">
<form method="post" action="checkout.php">
<input type="image" src="images/order.jpg"></td>
</form></td>
</tr>
</table>
</td>
</tr>

</table>
 
Top