10月10日,迁移服务器后,发现其中 的一个shell脚本:
APPID=`curl http://www.wing.com/api/wing.php?m=ctrl\&c=get_appid 2> /dev/null`
echo $APPID
$APPID 的值前面多了一个空格, 各种测试无法去除。
最终发现是wing.php 中 包含的define.php ?>后面多了一个空格 ,
ps:所有php脚本?> 外的字符都会输出。
10月10日,迁移服务器后,发现其中 的一个shell脚本:
APPID=`curl http://www.wing.com/api/wing.php?m=ctrl\&c=get_appid 2> /dev/null`
echo $APPID
$APPID 的值前面多了一个空格, 各种测试无法去除。
最终发现是wing.php 中 包含的define.php ?>后面多了一个空格 ,
ps:所有php脚本?> 外的字符都会输出。