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

ecshop报错:Hacking attempt

WBOY
Release: 2016-06-23 13:58:15
Original
1225 people have browsed it

$.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); },                });
Copy after login

这是我dwt文件中调用lib_goods.php文件中的方法,不知道为什么一直抱错hacking attempt,不知道哪位帮忙看看?


回复讨论(解决方案)

hacking attempt   黑客行为
显然是判定你的来源非法,改用浏览器从网站上执行

includes/ 文件不能直接访问

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template