Re: Problems to login via POST on a external site.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, November 23, 2006 11:10 am, Benny Pfitzner wrote:
> The traffic shows:
> user=seppl2&pass=seppl2&x=72&y=13
> but I don't know where the x and y values are from. They also change
> every time.

Also note that if the INPUT TYPE="image" has a NAME="foo" attribute,
the parameters change to:
foo.x=72&foo.y=13

PHP does not allow '.' in variable names, so for historic reasons
dating back to the dark ages of register_globals being "on", PHP
converts foo.x into foo_x and foo.y into foo_y, in all of
$_GET/$_POST/$_REQUEST.

And I would suspect PHP would do that in $_COOKIE as well, if you
manage to set/construct such a cookie in the first place; But I've
never tried that so don't know.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux