haku Posted May 30, 2008 Share Posted May 30, 2008 I'm creating a custom error page for http errors (400, 401, 403, 404, 500) that I will set with my .htaccess file. What I'm wondering is how I can get the status code in order to echo it to the page. Does anybody know how? Quote Link to comment Share on other sites More sharing options...
haku Posted May 30, 2008 Author Share Posted May 30, 2008 I fjust figured out the answer: $_SERVER['REDIRECT_STATUS']; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.