note 34156 rejected from features.http-auth by tix
| From: | tix@php.net | Date: | Thu, 17 Jul 2003 09:29:40 +0000 |
| Subject: | note 34156 rejected from features.http-auth by tix | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-52261@lists.php.net to get a copy of this message | ||
Note Submitter: rosco@usa.net
----
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 :-)