blastbum Posted March 3, 2008 Share Posted March 3, 2008 Hi, I'm getting the following error: Warning: Cannot modify header information - headers already sent by (output started at /home/www/integritynet.com.au/caesars/secure/index.php:2) in /home/www/integritynet.com.au/caesars/secure/index.php on line 354 The code that the above error is refering to is the following: 353: if(isset($order_dets['error'])) { 354: header("location: ".$PHP_SELF."?id=".$id); 355: exit; 356: } I have also attached the "index.php" file that the above code is from. Apparently, the error is happening if one of the fields isn't being filled in. Let me know if you need any other information to fix this. Your help will be GREATLY appreciated. Kind Regards, Dan S Link to comment https://forums.phpfreaks.com/topic/94143-getting-cannot-modify-header-information-error-please-help/ Share on other sites More sharing options...
trq Posted March 3, 2008 Share Posted March 3, 2008 Did you read the big HEADER ERRORS sticky at the top of this board? Link to comment https://forums.phpfreaks.com/topic/94143-getting-cannot-modify-header-information-error-please-help/#findComment-482255 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.