Home >Backend Development >PHP Tutorial >ecshop报错:Hacking attempt

ecshop报错:Hacking attempt

WBOY
WBOYOriginal
2016-06-23 13:58:151223browse

$.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/ 文件不能直接访问

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn