note 82646 modified in function.get-magic-quotes-gpc by danbrown

From: Date: Sun, 20 Jul 2008 00:06:48 +0000
Subject: note 82646 modified in function.get-magic-quotes-gpc by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-141825@lists.php.net to get a copy of this message
@heiko dot richler at informatik dot fh-nuernberg dot de I think your stripslashes_deep function should like this: <?php function stripslashes_deep(&$value) { $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value); return $value; } ?> You missed the References. --was-- @heiko dot richler at informatik dot fh-nuernberg dot de I think your stripslashes_deep function should like this: function stripslashes_deep(&$value) { $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value); return $value; } You missed the References. http://php.net/manual/en/function.get-magic-quotes-gpc.php

« previous php.notes (#141825) next »