Strange x & y POST values being sent in form
forms, php, post
Solution
If your `input` element is of `type="image"` (or a `button` element containing an `image`) then the coordinates of the click will be sent, cf. the specification.
EDIT If your input element had a `name="something"` the `$_POST` array would contain the keys `something`, `something_x`, and `something_y`.
Problem
What are these x & y values that are being sent back with seemingly random values? After submitting my form, I output the _POST array using print_r() to make sure my form is being submitted properly. ``` Array ( [user] => Richard Testani [pass] => sdf [client] => Kim Ronemus Design [api] => 3425yrt [email] => rich@kimronemusdesign.com [x] => 88 [y] => 34 ``` ) I've seen this in other forms, but just ignored them. Right now Im on a Mac platform 10.5, running PHP5 Thanks Rich