PHP 错误
先看代码。<?php header('Content-type: text/xml'); ?><?xml version="1.0" encoding="utf-8" ?><return> <code><?php echo $code; ?> <?php if(isset($message)): ?> <message><?php echo $message; ?></message> <?php endif; ?></return><?php header('Content-type: text/xml'); echo '<?xml version="1.0" encoding="utf-8" ?>'; ?><return> <code><?php echo $code; ?> <?php if(isset($message)): ?> <message><?php echo $message; ?></message> <?php endif; ?></return> 你的服务器端的php,启用了短标记
对于 php代码开始
xml 一个无效的名称
很简单,你开启了php.ini中的short_open_tags的功能了, short_open_tag
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号