| 
 Posted by Thomas Mlynarczyk on 05/21/07 19:02 
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
 
  
Navigation:
[Reply to this message] 
 |