<phpnewbie>
Hey there;
I have read (i think) just about all the "cannot add header information" threads and i KNOW there aren't any white spaces or extra carriage returns in this script, etc. Is there something in the php.ini that would prevent this header from working????
<body>
<?php
header('HTTP/1.0 401 Unauthorized');
?>
</body>
i still get:
Warning: Cannot add header information - headers already sent by (output started at C:\mysillysite\ in C:\mysillysite\ on line 8
where line 7 is the '<?php'
Thanks in advance
Paul
</phpnewbie>
Hey there;
I have read (i think) just about all the "cannot add header information" threads and i KNOW there aren't any white spaces or extra carriage returns in this script, etc. Is there something in the php.ini that would prevent this header from working????
<body>
<?php
header('HTTP/1.0 401 Unauthorized');
?>
</body>
i still get:
Warning: Cannot add header information - headers already sent by (output started at C:\mysillysite\ in C:\mysillysite\ on line 8
where line 7 is the '<?php'
Thanks in advance
Paul
</phpnewbie>