I have [URL=http://kd7pyo.infinitypages.com/]my page
[code=php]<?PHP
$c_ip = $HTTP_COOKIE_VARS[“user_ip”];
$counter_file = “count.txt”;
$counter_file_line = file($counter_file); if(!$c_ip) {
setcookie(“user_ip”, $REMOTE_ADDR, time()+360000); $counter_file_line[0]++;
$cf = fopen($counter_file, “w+”);
fputs($cf, “$counter_file_line[0]”); fclose($cf);
}
elseif($c_ip != $REMOTE_ADDR){
$counter_file_line[0]++; $cf = fopen($counter_file, “w+”);
fputs($cf, “$counter_file_line[0]”);
fclose($cf);
}
?>
If you go to my page you will see that I’m getting this error:
[B]Warning: Cannot modify header information – headers already sent by (output started at /home/infini15/public_html/kd7pyo/index.php:9) in /home/infini15/public_html/kd7pyo/count.php on line 5
And I can’t figure out what is wrong. Please help! ?