Hi...
I'm trying to force a 404 page with
<?
header("HTTP/1.0 404 Not Found");
exit;
?>
I tried this On IIS and also on Apache (under FreeBSD)
but both just gives me a blank page.
i didn't make any custom 404 pages, just hoping that the default ones will show up.
The page only have the above codes and no other output.
If I put print "here"; before exit, it will print "here";
any suggestion?
Regards,
Namida
I'm trying to force a 404 page with
<?
header("HTTP/1.0 404 Not Found");
exit;
?>
I tried this On IIS and also on Apache (under FreeBSD)
but both just gives me a blank page.
i didn't make any custom 404 pages, just hoping that the default ones will show up.
The page only have the above codes and no other output.
If I put print "here"; before exit, it will print "here";
any suggestion?
Regards,
Namida