On Thursday 10 February 2005 23:36, Ben Edwards (lists) wrote:
> The cleaning works but magic_quotes_runtime is false even if magic
> codes are on, any ideas?
There are at least two magic_quotes_* settings, make sure you are
referring to the correct one(s).
--
Jason Wong -> Gremlins Associates
The following code is passed $_POST to clean magic quotes code out ;_
function remove_magic_quotes( &$array ) {
foreach( $array as $index => $value ) {
if ( is_array( $array[$index] ) ) {
remove_magic_quotes( $array[$index] );
} else
2 matches
Mail list logo