Question related to 404 and PHP

So I'm using a single entry point found in a previous question of mine: http://stackoverflow.com/questions/1712973/how-to-include-config-php-efficiently/1713000#1713000We all know what 404 errors is, so no explanation needed there. However, when using the single entry point \[code\]index.php?page=pokemon\[/code\], it doesn't go to the 404 page when trying to access a page that is non-existent. So how can I solve this problem which would make it more user friendly and direct the visitors to my 404 page so they won't see all the PHP errors?
 
Back
Top