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
Share on other sites

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.