gpt4 book ai didi

php - 使用 index.php 解析错误 : syntax error, 意外的 T_STRING?

转载 作者:行者123 更新时间:2023-12-02 05:27:36 26 4
gpt4 key购买 nike

它在本地主机上运行良好,但是当我将它上传到服务器时出现以下错误:

Parse error: syntax error, unexpected T_STRING in D:\Hosting\4923367\html\beta\index.php on line 4

索引.php:

<?php
include_once 'localization.php';
?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<!--Start Kampyle Exit-Popup Code-->
<script type="text/javascript">
var k_push_vars = {
"view_percentage": 10,
"popup_font_color": "#000000",
"popup_background": "#D4E2F0",
"header": "Your feedback is important to us!",
"question": "Would you be willing to give us a short (1 minute) feedback?",
"footer": "Thank you for helping us improve our website",
"yes": "Yes",
"no": "No",
"text_direction": "ltr",
"images_dir": "http://cf.kampyle.com/",
"yes_background": "#76AC78",
"no_background": "#8D9B86",
"site_code": 9662374
}
</script>
<script type="text/javascript" src="http://cf.kampyle.com/k_push.js"></script>
<!--End Kampyle Exit-Popup Code-->

<!-- Start Kampyle Css -->
<link rel="stylesheet" type="text/css" media="screen" href="http://cf.kampyle.com/k_button.css" />
<!-- End Kampyle Css -->

(继续)

最佳答案

<?xml被误认为是 PHP 短标签,请尝试回应它(尽管我认为不需要它)

关于php - 使用 index.php 解析错误 : syntax error, 意外的 T_STRING?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2820375/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com