note 34156 added to features.http-auth
| From: | rosco at usa dot net | Date: | Thu, 17 Jul 2003 09:01:28 +0000 |
| Subject: | note 34156 added to features.http-auth | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-52257@lists.php.net to get a copy of this message | ||
I tried to use the HTTP authentication example ( at top); copy-paste the simple (firtst) example to
my php code. After it, I checked it in my browser, the result was:
Warning: Cannot add header information - headers already sent by (output started at
/var/www/index.php:2) in /var/www/index.php on line 4
Warning: Cannot add header information - headers already sent by (output started at
/var/www/index.php:2) in /var/www/index.php on line 5
Why???
I deleted all other code from my script, so I tried to use only the example. The result is same...
Can anyone help me?
(SFBE :-)
----
Manual Page -- http://www.php.net/manual/en/features.http-auth.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34156
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34156&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34156&report=yes