I am trying to logging using php's curl.
I am using LiveHTTPHeaders to see what headers are sent.
When I login through form it sends
action=autorize&login=myname&pass=mypass&x=14&y=10
I can see action
, login
, pass
<inputs>
.
The problem is - there are no x
and y
inputs. And they are random all the time. I searched all html, but there are definitely no any x, y or their numbers.
How is that possible at all?
The x and y inputs are from an image input. From W3C:
http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.1.2.5
It comes from input type="image" it auto submits the x and y coordinates that you have clicked on the submit button.
You are using an image as button. those are the coordinates clicked.