Re: Problems to login via POST on a external site.
| From: | Richard Lynch | Date: | Fri, 24 Nov 2006 19:59:06 +0000 |
| Subject: | Re: Problems to login via POST on a external site. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245130@lists.php.net to get a copy of this message | ||
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?