RE: [PHP] Cannot add header information...
| From: | Jon Haworth | Date: | Thu, 22 Nov 2001 10:26:29 +0000 |
| Subject: | RE: [PHP] Cannot add header information... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-75495@lists.php.net to get a copy of this message | ||
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'
**********************************************************************