廣告贊助

這是從 NEO 那看來的程式碼 !!

if (get_magic_quotes_gpc() == 1){
        switch ($REQUEST_METHOD)
        {
                case "POST":
                        while (list ($key, $val) = each ($HTTP_POST_VARS)){
                        $$key = stripslashes($val);
                        }
                break;


                case "GET":
                        while (list ($key, $val) = each ($HTTP_GET_VARS)){
                        $$key = stripslashes($val);
                        }
                break;
        }
}
創作者介紹

有為青年生活札記

bojack 發表在 痞客邦 PIXNET 留言(0) 人氣()