|
Posted by Richard Davey on 10/04/13 11:23
Hello Eric,
Monday, August 8, 2005, 9:37:12 PM, you wrote:
EG> I have another file (doesexist.php) with the contents:
EG> <?PHP
EG> header("HTTP/1.0 404 Not Found");
?>>
EG> If I enter into my browser:
EG> http://mydomain.com/doesexist.php
EG> I get a blank page. Apparently, this does not trigger the 404
EG> directive.
The header 404 is correct - check to see if your script contains any
extra white-space somewhere that is causing the header to fail? (i.e.
a carriage return after the closing php tag).
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
Zend Certified Engineer
"I do not fear computers. I fear the lack of them." - Isaac Asimov
Navigation:
[Reply to this message]
|