Notice: Undefined variable: id in /www/users/HA400599/WEB/Tmp/Thread_74499d2d859abb575f95499363c71b08.php on line 就这一句话看上面页头上
-
页头错误求解
这是什么原因?
同问!!
Notice: Undefined index: query_string in /wwwroot/bbs/HY/Lib/Line.php on line 102
//自动转化get参数
//http://127.0.0.1:86/?s=thread-11-2.html?order=desc&a=1
public static function auto_get(){
$query_string = $_SERVER["QUERY_STRING"];
if(strpos($query_string,'?') !== false){
foreach((array)explode('?',$query_string) as $v){
foreach((array)explode('&',$v) as $vv){
$tmp = explode('=',$vv);
if(count($tmp==2) && isset($tmp[0]) && isset($tmp[1])){
if(!isset($_GET[$tmp[0]]))
$_GET[$tmp[0]]=$tmp[1];
把调试模式关了就好了,应该是那个获取是否免金币查看那个写的$id不认
排除插件