Warning: Cannot modify header information - headers already sent by (output sta


Posted on 16th Feb 2014 07:03 pm by admin

Warning: Cannot modify header information - headers already sent by (output started at /home/praylife/public_html/index.php:29) in /home/praylife/public_html/index.php on line 188

Warning: Cannot modify header information - headers already sent by (output started at /home/praylife/public_html/index.php:29) in /home/praylife/public_html/index.php on line 189




LINE 189:


Code: if (isset($_GET['skin']) && $_GET['skin'] == "0") {
setcookie("skinid", "default", time()+60*60*24*60, "/");
header('Location: ./?');
}
LINE 29:

Code: if(!isset($_COOKIE['skinid']))
{
echo '<style type="text/css" media="all">@import url(2.css);</style>';
}
Ever since i moved from localhost to official server, this is happening why?

No comments posted yet

Your Answer:

Login to answer
116 Like 46 Dislike
Previous forums Next forums
Other forums

Problem!
I have another problem, when i run this code i get this error "Parse error: syntax error, unexp

Install page
How do I make it so when a user submits information on the Install page, it'll right it into the cor

PHP Redirecting
Hello everyone. Is there a way to redirect people to pages within a statement in PHP? Since there is

SCRIPT ERROR
Here is the CONTACT FORM I made for our website:

<form id="form1" name="

The page should be expire when cilck back button
hi,
i'm new to php world.
i create user registration page.
when i submit it,data goes to my

Code error with Index.php
Error: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/runevid/public_

Are sessions secure at all?..
I haven't really gotten into yet, but I was just thinking of something weird..

Lets say you h

check if value exists
I have googled this for a while and I am getting lots of different results. Is there a standard meth

Appending GET data with form submition
Okay, what I'm trying to do is to use a form to append an already existing GET data string.

I

undefined offset help
Hi All,

I kept getting undefined offset PHP notice for a simple for loop. For eg
$va = arr

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash