Posted by jmark on 05/21/07 20:41
On May 21, 2:02 pm, "Thomas Mlynarczyk" <tho...@mlynarczyk-
webdesign.de> wrote:
> Also sprach damezumari:
>
> > // trim the parameters
> > foreach($_POST as $varname => $value) {$varname = trim($value);}
>
> foreach ( $_POST as $varname => $value ) { $_POST[$varname] = trim(
> $value ); }
>
> > import_request_variables('gp', 'p_');
>
> Why? It's simpler, cleaner and safer to work with $_GET / $_POST directly.
>
> Greetings,
> Thomas
I may agree with simplicity and cleanliness to some extend but how is
it safer?
[Back to original message]
|