hello there,
recently I had to play around with the header() function and realize that pretty much any header I send, except of location one, makes my apache to show 500 error. Well actullay I tried this with these two:
header('HTTP/1.0 401 Unauthorized');
header('HTTP/1.0 404 Not Found');
of course, not at the same time, and my script looked like this <?php header(...) ?> so now errors in coding either.
So I was just wondering what am I doing wrong and why its not working? Again, it is apache/windows/php406 box, and I get 500 when try to authorize or just send 404 header.
cheers,
AlCapone