Posted by BKDotCom on 12/28/06 01:03
GT wrote:
> Thanks,
>
> So (if I understand correctly) the reason I don't get any output would
> be because I haven't set up the Apache ErrorDocument to tell the server
> what to serve in the case of these errors?
The reason you don't get any output is because you didn't output
anything!
You simply sent a header. At least with your example.
try
<?php
header('HTTP/1.x 404 Not Found');
echo 'Page Not Found!';
?>
Navigation:
[Reply to this message]
|