note 100232 added to function.header
| From: | hacker43 dot gaurav at gmail dot com | Date: | Sun, 03 Oct 2010 10:55:50 +0000 |
| Subject: | note 100232 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-172905@lists.php.net to get a copy of this message | ||
i am getting the warning
Warning: Cannot modify header information - headers already sent by (output started at
C:\xampp\htdocs\projects\myproject\include\header.php:169) in
C:\xampp\htdocs\projects\myproject\test.php on line 9
if someone can help me to fix this error
send me the right code on my mail id
hacker43.gaurav@gmail.com
<?php
session_start();
$sessid=$_SESSION['id'];
include("include/header.php");
$sessid=$_SESSION['id'];
if ($sessid=="")
{
header('Location:signin.php');
}
?>
<tr>
<td>
<table border="0" height="985" width="100%"
bgcolor="#FFFFFF">
<tr>
<td >
<table border="0" height="985" width="620"
align="left">
<tr>
<td valign="top">
<table border="2" width="620px"
height="985px">
<tr>
<td valign="top" style="font-size:18px;
font-weight:bold; line-height:40px;" > <ol>
<li><a href="phpdefination.php">PHP Defination</a>
<ol>
<li><a href="phpinstallation.php">PHP
Installation</a></li>
</ol>
</li>
<li><a href="echoandprint.php">Echo &
Print</a></li>
<li><a href="getandpost.php">Get &
Post</a></li>
<li><a
href="strings.php">Strings</a></li>
<li><a
href="array.php">Array</a></li>
<ol>
<li><a href="numericarray.php">Numeric
Array</a></li>
<li><a
href="associativearray.php">Associative Array</a></li>
<li><a
href="multidimensional.php">Multidimensional Array</a></li>
</ol>
<li><a
href="functions.php">Function</a></li>
<li><a href="forloop.php">For
loop</a></li>
<li><a href="whileloop.php">While
Loop</a></li>
<li><a href="ifelse.php">If
Else</a></li>
<li><a
href="forms.php">Forms</a></li>
</ol>
</li>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td valign="top" >
<?php
include("include/right.php");
?>
</td>
</tr>
</table>
</td></tr>
<?php
include("include/footer.php");
?>
</td>
</tr>
</table>
</body>
</html>
----
Server IP: 59.162.86.8
Probable Submitter: 59.94.241.246
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- https://master.php.net/note/edit/100232
Del: integrated -- https://master.php.net/note/delete/100232/integrated
Del: useless -- https://master.php.net/note/delete/100232/useless
Del: bad code -- https://master.php.net/note/delete/100232/bad+code
Del: spam -- https://master.php.net/note/delete/100232/spam
Del: non-english -- https://master.php.net/note/delete/100232/non-english
Del: in docs -- https://master.php.net/note/delete/100232/in+docs
Del: other reasons-- https://master.php.net/note/delete/100232
Reject -- https://master.php.net/note/reject/100232
Search -- https://master.php.net/manage/user-notes.php