Jump to content

Recommended Posts

hi to all....

 

 

i just upload my project at my host,,,after login i got an warning mesg,,,

 

Warning: Cannot modify header information - headers already sent by (output started at /home/askuocom/public_html/khiani.co.in/khiani/cpv/cpv/user/include/connection.php:7) in /home/askuocom/public_html/khiani.co.in/khiani/cpv/cpv/user/login.php on line 15

 

Warning: Cannot modify header information - headers already sent by (output started at /home/askuocom/public_html/khiani.co.in/khiani/cpv/cpv/user/include/connection.php:7) in /home/askuocom/public_html/khiani.co.in/khiani/cpv/cpv/user/login.php on line 16

 

Warning: Cannot modify header information - headers already sent by (output started at /home/askuocom/public_html/khiani.co.in/khiani/cpv/cpv/user/include/connection.php:7) in /home/askuocom/public_html/khiani.co.in/khiani/cpv/cpv/user/login.php on line 17

 

Warning: Cannot modify header information - headers already sent by (output started at /home/askuocom/public_html/khiani.co.in/khiani/cpv/cpv/user/include/connection.php:7) in /home/askuocom/public_html/khiani.co.in/khiani/cpv/cpv/user/login.php on line 18

 

 

what was that,,,,what is the solution for that,,,,

does work when you no how, but you should correct the header problems.

<?php ob_start(); <<< //start off page.
session_start(); // start a session.

ob_flush(); //<<< end off page.
?>

 

 

any html or any think before the session_start() gives a error.

 

also any wight spaces from <?php <<< to  <? <<<< bottom also give a error message.

 

to stop a error you use the if statement, or a condition that is ending with a brace}

 

now read the header info link as provided.

 

read about the ob_start() function.

http://uk.php.net/ob_start

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.