-1

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/aoiwb/public_html/annualconference/system/core/Exceptions.php:271)

Filename: controllers/Registration.php

Line Number: 135

Backtrace:

File: /home/aoiwb/public_html/annualconference/application/controllers/Registration.php Line: 135 Function: header

File: /home/aoiwb/public_html/annualconference/index.php Line: 315 Function: require_once

my code is..

            $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);
Rushil K. Pachchigar
  • 1,263
  • 2
  • 21
  • 40

1 Answers1

0

You have sent to the browser some html before you call header("Location:". $url);

user2342558
  • 5,567
  • 5
  • 33
  • 54