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:
An INPUT element with 'TYPE=IMAGE' specifies an image resource to display, and allows input of two form fields: the x and y coordinate of a pixel chosen from the image. The names of the fields are the name of the field with '.x' and '.y' appended. 'TYPE=IMAGE' implies 'TYPE=SUBMIT' processing; that is, when a pixel is chosen, the form as a whole is submitted.
http://www.w3.org/MarkUp/html-spec/html-spec_8.html#SEC8.1.2.5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With