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

Check before inserting in DB ???
This is my code
---------------
if ( $_POST ['Submit'])
{{
$username = $_POST ['usernm

Database 'Validation'
Hi everyone,
I'm trying to validate the password entered by the user with the password in the dat

Retreiving objects from Sessions
Hi all,

I am getting really frustrated with storing and retreiving objects from a session. Bu

form problem
below in the form action, i've put "test.php?w=$sw&h=$sh" but when i input the for

Image resize
Hi again fellers

I managed to sort out the issues with the folder,

Final hurdle is th

admin with my register system?
Hey i wana make it so i can make a admin level on my register system , I'm kinda new to php to im no

2 decima places & How to reload my page
Hello There,

How do i put full-stop (.) after second figure from behind? ie if i have 123456

Read from a text file after a specific word
Hi all.

I have a text file that looks like the one below.
I know how to open the text fi

getting Vars to pass to next page.
Hello all,
I have a confusing situation on my hands, i am a member of a gaming community and we

Stuck with preg_replace
Hi,

I'm trying to use preg_replace to remove part of the IP address submitted using a form on

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