日期:2014-05-16  浏览次数:20758 次

ecshop报错:Hacking attempt
$.ajax({
                url:"includes/lib_goods.php?is_ajax=1&act=get_recommend_goods",
                type:"GET",
                dataType:"text",
                data:{type:"newss",catscats},
                 beforeSend: function(){ 
            alert("正在登录..."); 
        }, 
                success:function(json){
                        alert(json);
                        if(json.succuss=1)
                        {
                                alert("success");
                                }
                                else
                                {
                                        alert("false");
                                        }
                        },
                        error: function(XMLHttpRequest, textStatus, errorThrown) { 
alert(XMLHttpRequest.status); 
alert(XMLHttpRequest.readyState); 
alert(textStatus); 
},
                });

这是我dwt文件中调用lib_goods.php文件中的方法,不知道为什么一直抱错hacking attempt,不知道哪位帮忙看看?
------解决方案--------------------
hacking attempt   黑客行为
显然是判定你的来源非法,改用浏览器从网站上执行
------解决方案--------------------
includes/ 文件不能直接访问