|
Posted by Martin Mouritzen on 12/07/06 01:39
On Thu, 07 Dec 2006 01:45:12 +0100, Michael Fesser <netizen@gmx.de>
wrote:
>It contains data from three different sources, so you can't say for sure
>where your values came from. If you expect data from a POST submission
>you should use the $_POST array and so on.
Since you (hopefully) sanitize your input, no matter what source they
come from, I don't see any problems by using $_REQUEST.
Often I've found it helpful that both ways are available for use
through my scripts.
If however you really mean you will ONLY allow information submitted
through one of the methods, for whatever reason, then sure, limit it,
but I see no reason to do it always.
--
best regards,
Martin Mouritzen.
http://www.siteloom.dk
Navigation:
[Reply to this message]
|