Hi!
I'm having difficulties sending headers.. There's a case in my script in which I want to sent a 404 Not Found header.
I tried this code:
header("HTTP/1.0 404 Not Found");
And this code:
header("Status: 404 Not Found");
Both in IE5.5 and Opera 7 I don't recieve a 404 error. Nothing else happens though..
Am I misunderstanding the purpose of sending this header and what is supposed to happen or is there something wrong?
I want to sent a 404 header to a client to shield the administrator part of a system I've built. I feel it's more secure than displaying an "acces denied" message to a (potential) hacker.
Opinions??
Thnx in advance 😃