|
Posted by pepper.gabriela on 09/16/07 15:08
> You can't be sure that you'll get all the values from the form you
> expect. Every data coming in from the client (POST, GET, cookies) can be
> incomplete or manipulated.
i'm in the classical little/medium site backend area sending data
thorugh $_POST: what could cause incompleteness? Who could manipulate
my data?
> You just have to make sure that missing values don't lead to notices or
> unexpected behaviour in your code.
it is what I try to do and I'm not receiving any unexpected behavior
at the moment :-)
> >I considered not using it because the PHP manual says it is not a good
> >idea for $_GET, $_POST, etc.
>
> Currently you're doing nearly the same.
well, it's true... I couldn't find a better way, since I can't change
the overall structure (so I can't but send data from A to B and
viceversa)
Navigation:
[Reply to this message]
|