Re: prevent modifying querystring
| From: | Chris Hayes | Date: | Wed, 11 Jun 2003 15:00:59 +0000 |
| Subject: | Re: prevent modifying querystring | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151079@lists.php.net to get a copy of this message | ||
At 16:43 11-6-03, you wrote:
Thanks for your recommendations, what if they use page.php?$_POST[$total]? $_POST is made by PHP and you can rely on it to be safe for such tricks, especially because your trick will not even work with normal arrays.
instead of $toal?? wouldn't the outcome be the same? is there good article on this subject? I think this is quite important in developing secure application, I have googled but no luck I've asked several times to make this more clear on the PHP site but the usual reply is pretty unhelpful. Sadly because this problem is causing many people headaches.Start at 'new input mechanism' on http://de.php.net/release_4_1_0.php then go http://de.php.net/manual/en/security.registerglobals.php then search for _POST and _GET to see more.