![]() ![]() ![]() ![]() |
|||||
|
|||||
樓主 Eric16899 ![]()
![]() |
我已將header("Content-Type: text/xml\n");提到最前了還發生錯誤: Warning: Cannot modify header information - headers already sent by.... 以下為程式 //***************************************** <?php header("Content-Type: text/xml\n"); header("Cache-Control: no-cache, must-revalidate\n"); //A date in the past echo "<?xml version='1.0' encoding='UTF-8'?>\n"; echo "<reponse>\n"; echo "<pass>false</pass>\n"; echo "</reponse>"; ?> |