Calgaryalberta Posted January 26, 2008 Share Posted January 26, 2008 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? Quote Link to comment https://forums.phpfreaks.com/topic/87972-header-output/ Share on other sites More sharing options...
Bauer418 Posted January 27, 2008 Share Posted January 27, 2008 Please read stickies before posting: http://www.phpfreaks.com/forums/index.php/topic,37442.0.html Quote Link to comment https://forums.phpfreaks.com/topic/87972-header-output/#findComment-450171 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.