Is there any way in php or similiar languages like javascript, to have it display the default 404 message for that browser when something happens. Like, in php say I have sessions set up and if the person is not logged in the page that the user visits that you need to be logged in to, it displays the users browsers default 404 message.
I know I could always have it check the browser type then redirect them to a file on the server that mimics that browsers 404 not found but I am trying to find out if there is any other way like a function or something built into the language.
Thanks
I know I could always have it check the browser type then redirect them to a file on the server that mimics that browsers 404 not found but I am trying to find out if there is any other way like a function or something built into the language.
Thanks
