コード例 #1
0
function tdomf_fixslashesargs()
{
    $_COOKIE = stripslashes_deep($_COOKIE);
    $_POST = tdomf_stripslashes_deep($_POST);
    $_REQUEST = tdomf_stripslashes_deep($_REQUEST);
}
コード例 #2
0
function tdomf_fixslashesargs()
{
    global $tdomf_args;
    #$_GET = stripslashes_deep($_GET);
    #$_POST = stripslashes_deep($_POST);
    #$_COOKE = stripslashes_deep($_COOKIE);
    #$_REQUEST = stripslashes_deep($_REQUEST);
    #$_FILES = stripslashes_deep($_FILES);
    #tdomf_log_message("#1:<pre>".var_export($tdomf_args,true)."</pre>");
    $tdomf_args = tdomf_stripslashes_deep($tdomf_args);
    #tdomf_log_message("#2:<pre>".var_export($tdomf_args,true)."</pre>");
}