知识库

查找有关信息功能,故障排除指南,
以及与虚拟主机相关的其他技术信息的文章。

I get 'unexpected T_STRING' error

引用:
unexpected T_STRING php error

You may get this error because all .html files are parsed as PHP here. So, if your .html file contains "<?" or "?>" tags/text (which shows for file parser that PHP code started), you get this error. This can happen with XML files if they are not using correct content type. If order to fix this error you need to remove "<?" and "?>" symbols or entire lines with these symbols from your HTML page source.

  • 简单易用的建站助手
  • 99.9%在线时间保证
  • 24/7 在线支持
  • Powerful Control Panel
  • 30天退款保证
赶上限时优惠!
低至
8
55
CNH
/月
节省 82%
开始