This is a discussion on header within the PHP Language forums, part of the PHP Programming Forums category; I would make - if a user is not allowed to see my page - print an error document. -> 403. (in ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I would make - if a user is not allowed to see my page - print an error
document. -> 403. (in case below 404) In php i used something like if ($ans = array_search($ip, $iparray)) { header("status: 404"); header("HTTP/1.0 404 Not Found"); Why does this not work. How can i get the official 403/ 404 page. Without ..htacces please. FiremanSAM |