Re: Cannot add header information... SOLUTION

From: Date: Thu, 22 Nov 2001 13:23:03 +0000
Subject: Re: Cannot add header information... SOLUTION
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-75505@lists.php.net to get a copy of this message
Thank you Jon & folks, now its OK! ;) Per > You've already sent something to the browser... the line that starts with > <HTML><HEAD>... > > Move that below the authentication code and all should be well. > > HTH > Jon > > > -----Original Message----- > From: Per Waagen [mailto:dataper@online.no] > Sent: 22 November 2001 10:20 > To: php-general@lists.php.net > Subject: [PHP] Cannot add header information... > > > Need some help here, Im getting this error: > > Warning: Cannot add header information - headers already sent by (output > started at /home/p/pe/perphp/public_html/login.php:4) in > /home/p/pe/perphp/public_html/login.php on line 44 > > ...while trying to run the following .PHP code on my server. Any ideas why > this doesnt work? > (Im trying to setup user authentication and found this on the Webmonkey > site) > > All tips are appreciated!! > > > ********************************************************************** > 'The information included in this Email is of a confidential nature and is > intended only for the addressee. If you are not the intended addressee, > any disclosure, copying or distribution by you is prohibited and may be > unlawful. Disclosure to any party other than the addressee, whether > inadvertent or otherwise is not intended to waive privilege or confidentiality' > > ********************************************************************** > > -- > 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 (#75505) next »