Jump to content

[SOLVED] header already sent


kev wood

Recommended Posts

i am trying to redirect a user to another page once a counter reaches a certain number.  i have used an if statement to evaluate the conditions but when the limit is reached i get these error messages.

 

on line 230 Warning: Cannot modify header information - headers already sent by (output started at/home/acmeart/public_html/mercury/broad_send.php:20)

 

i have set the else statement up using headers to redirect the user like this.

 

header("location:limit.php");

 

is there a different way of redirecting the user.

Link to comment
https://forums.phpfreaks.com/topic/108501-solved-header-already-sent/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.