404 Error Page (CDONTS)
The basic 404 error or file not found page serves two specific purposes. Firstly, to alert the user that the item they were expecting is not currently available. Secondly, to alert the webmaster that a file is missing or a link is targeting something incorrectly. In order to provide users with a page that will show up whenever a 404 error occurs you need to change the settings on your web server to target a specific page or contact your hosting company to do this for you. Once setup, the location of any file that is requested and not found in the server will be made available as a query string value and can be outputted as a message to the webmaster. Sending a message to the webmaster can be done a number of ways this example demonstrates the use of CDONTS.
Views: 939 | | by Isac
View this tutorial