01-09-2009, 07:40 PM
|
#10 (permalink)
|
|
The Addict
Join Date: Jun 2008
Posts: 322
Thanks: 2
|
Well the first and most obvious method to be would be to use create_function()
PHP Code:
<?php $_POST = array_map( create_function('$string', 'return htmlentities($string,ENT_QUOTES);'), $_POST );
|
|
|
|