-1
嚴重性:警告不能更改頭信息 - 頭已經發出(輸出開始
消息:無法修改標題信息 - 已經 發送頭(輸出開始 /家庭/ aoiwb /的public_html/annualconference /system/core/Exceptions.php:271)
文件名:控制器/和registration.php
行號:135
回溯:
文件: /home/aoiwb/public_html/annualconference/application/controllers/Registration.php 線:135功能:頭
文件:/首頁/ aoiwb /的public_html/annualconference /指數。 PHP的線路:315 功能:require_once
我的代碼..
$url = $xmlObjArray['url'];
$postFields = "";
$postFields .= "&ttype=" . $_POST['TType'];
$postFields .= "&tempTxnId=" . $xmlObjArray['tempTxnId'];
$postFields .= "&token=" . $xmlObjArray['token'];
$postFields .= "&txnStage=1";
$url = $payment->url . "?" . $postFields;
$this->writeLog($url . "\n");
header("Location:". $url);
那麼?我該如何解決這個問題? –
看到答案:http://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php – user2342558