Re: header:(location) error

From: Date: Sat, 17 Mar 2001 18:27:26 +0000
Subject: Re: header:(location) error
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-44393@lists.php.net to get a copy of this message
Do you have any white space outside of your <?php ?> tags? That is considered as output by the parser. ----- Original Message ----- From: Stas Newdel <stan_newdel@hotmail.com> To: <php-general@lists.php.net> Sent: Saturday, March 17, 2001 6:56 AM Subject: Re: [PHP] header:(location) error > Brett, I only have conditional logic above my header() call... this page is > processing form input and does a redirect based on the result? Will this not > work? > > Thank you > > > > brett@jnewman.net ("Brett") wrote in <02b401c0aea2$34676460$e1214ed8@bcnu>: > > > > >> I am receiving the following error from my app, and I'd be gratefull if > >> somebody would point out the usual cause of it. I am doing a redirect > >> based on a form validation routine. Thank you. > >> > >> Warning: Cannot add header information - headers already sent in > >> /usr/home/stas/html/cathedral/scripts/act_save_resume.php on line 175 > > > >Make sure you have no whitespace above your <? ?> tags. If any output is > >sent to the browser then you can not add a header, session, cookie. > > > >Brett > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#44393) next »