! ) Strict standards: Only variables should be passed by reference in D:\wamp\www\index2.php on line 148 Call Stack
?! )?Strict standards: Only variables should be passed by reference in D:\wamp\www\index2.php on line?148
Call Stack
?! )?Strict standards: Only variables should be passed by reference in D:\wamp\www\index2.php on line?148
Call Stack
2015-02-12
舉報
2015-05-06
php5.3以后的版本都會出現這問題,拆分這句$ext=strtolower(end(explode(".",$value)));
$arr=explode(".",$value);
$ext=strtolower(end($arr));
2015-02-12
這個錯誤怎么解決
2015-02-12
//得到文件擴展名 $ext=strtolower(end(explode(".",$value))); $imageExt=array("gif","jpg","jpeg","png"); if(in_array($ext,$imageExt)){ ?> <a?href="#"??onclick="showDetail('<?php?echo?$value;?>','<?php?echo?$p;?>')"><img?class="small"?src="images/show.png"??alt=""?title="查看"/></a>| <?php? }else{ ?> <a?href="index2.php?act=showContent&path=<?php?echo?$path;?>&filename=<?php?echo?$p;?>"?><img?class="small"?src="images/show.png"??alt=""?title="查看"/></a>| <?php?}?>