Jump to content

Header Output


Calgaryalberta

Recommended Posts

Im getting a warning:

 

Warning: Cannot modify header information - headers already sent by (output started at D:\hosting\member\aiim\site2\login\header.php:81) in D:\hosting\member\aiim\site2\login\body.php on line 105

 

the problem is, line 81 of my header.php looks like this:

 

<input class="bodycopy" onfocus="if(this.value=='SEARCH')this.value='';" size="21" value="SEARCH" name="sp-q" /><a onclick="javascript:doSubmitSearch();" href="http://search.newsite.net"><img height="20" src="images/go.gif" width="19" align="absMiddle" border="0" /></a></td>

 

and line 105 of my body.php looks like this:

header("Location: /login/exec/index.php");

 

 

Now the problem is - this is for a login in php I just got to work now Im implementing the php with my HTML script and I dont see anything wrong with either of these two lines...So Im just wondering could it be a different line that is disrupting this, not necessarily one of these two particular lines?

 

Link to comment
https://forums.phpfreaks.com/topic/87972-header-output/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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