Forum Home
Press F1
 
Thread ID: 20640 2002-06-09 08:08:00 PHP (mod for apache) Guest (0) Press F1
Post ID Timestamp Content User
53403 2002-06-09 08:08:00 Hi,
I have been learning php and I am using apache on linux with php support to test my scripts.

I tryed a scipt that had thes line in it:Header('WWW-authenticate: Basic Realm=\'My Relan\'');
Header('HTTP/1.1 401 Unautorized');
and it came up and said:
Warning: Cannot add header info-headers already sent....

I had read somewhere that the php addon had to be a module for apache not a ????(somethin' a rather) so i downloaded the latest module and installed it but it still didnt work.

Is it something in my script wrong, or another setting?

Thanks,
Ivan Meredith
Guest (0)
53404 2002-06-09 14:08:00 not sure I understand what you are trying to do?

is it a script problem or a setup? or both.
Guest (0)
53405 2002-06-10 01:14:00 I have had this come up before (Ok Too Often!!) and It has always been a script problem.

if you can post your code I might be able to point you in the right direction.

Sirrab
Guest (0)
1