Initial commit
This commit is contained in:
10
lotgd-web/lotgd/lib/stripslashes_deep.php
Executable file
10
lotgd-web/lotgd/lib/stripslashes_deep.php
Executable file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
function stripslashes_deep($input){
|
||||
if (!is_array($input)) return stripslashes($input);
|
||||
reset($input);
|
||||
while (list($key,$val)=each($input)){
|
||||
$input[$key] = stripslashes_deep($val);
|
||||
}
|
||||
return $input;
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user