Re: Re: trying to figure out the best/efficient way to tell whois logged into a site..
| From: | Scott Noyes | Date: | Wed, 14 Sep 2005 19:15:25 +0000 |
| Subject: | Re: Re: trying to figure out the best/efficient way to tell whois logged into a site.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-222432@lists.php.net to get a copy of this message | ||
> Suppose you have a form that posts set hidden values. A malicious user
> could modify the URI to change those values.
A malicious user could just as easily modify the http header that sets
the POST, or the cookie that sets the COOKIE, or whatever. In other
words, if it comes from the user, it could have been tampered with.
> Which raises the question, in the scenario above, you may have an identical
> 'post' value and 'get' value submitted to the same page. Which takes
> precidence in $_REQUEST?
That is configurable in php.ini (I think). By default, COOKIE
overwrites POST overwrites GET.