先上控制台报错代码:
<br />
<font size='1'><table class='xdebug-error xe-warning' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Warning: Unknown: failed to open stream: No such file or directory in Unknown on line <i>0</i></th></tr>
</table></font>
<br />
<font size='1'><table class='xdebug-error xe-fatal-error' dir='ltr' border='1' cellspacing='0' cellpadding='1'>
<tr><th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! )</span> Fatal error: Unknown: Failed opening required 'Y:/wamp64/www/jQuery_behind_framework_淦/41.php' (include_path='.;C:\php\pear') in Unknown on line <i>0</i></th></tr>
</table></font>
然后你把这些报错放到HTML用浏览器打开:
然后翻译发现:
这玩意路径错了
我的路径是:
"http://127.0.0.1/jQuery_behind_framework_%e6%b7%a6/41.php?teacher=lnj&age=34"
上面的路径是在服务器地址中复制下来的,
原因:
但复制的中文被转码了,
尝试:
"http://127.0.0.1/jQuery_behind_framework_%e6%b7%a6/41.php?teacher=lnj&age=34"
所以,把地址的中文补全的话是:
"http://127.0.0.1/jQuery_behind_framework_淦/41.php?teacher=lnj&age=34"
但还是输出HTML代码:
真正的解决:
把路径中的中文名称改为英文:
"http://127.0.0.1/jQuery_behind_framework/41.php?teacher=lnj&age=34"
控制台:
输出没问题了