Advertisements
 
 Advertisements
sportsappsios android appcolt kidsgamesios

Error handling

Mail on 404  Mail on 404

 A simple snippet of php code to insert in your custom 404 error page. It will send an e-mail when a visitor encounters a 404 page and certain conditions are met. The tutorial explains how the script works and where to insert the code....

Custom Error Handling with PHP  Custom Error Handling with PHP

 Custom error documents are a valuable tool to have. Using this tutorial you`ll be able to redirect any user to a specified location on your site if they have reached an error such as Error 404 - Document Not Found or Error 500 - Internal server Error. If you`ve re-designed your site recently or even moved some files around, this tutorial will show you how to use PHP and Apache`s htaccess file to avoid losing traffic....
Tags:

Writing Debuggable Code  Writing Debuggable Code

 For those of you who take on massive coding tasks such as creating an entire site from scratch, you`ll notice that it tends to become tedious to debug your code unless you`ve taken a few precautionary measures. This tutorial will start you off in the right direction. It won`t make your code debuggable for you, but you`ll have an idea on how to do it. Most code can be modified to fit the schema suited for debugging fairly easily, but this guide is written with a clean slate in mind; it will describe the process of preparing your code to be easily debuggable from scratch....

A simple Custom Error Page Generator in PHP  A simple Custom Error Page Generator in PHP

 This simple, free script, along with a few extra lines in your .htaccess file, allows the building of custom error pages on-the-fly. The coding principles and .htaccess requirements are discussed with examples, and a complete and commented PHP script is available for download. The script allows for email notification to the webmaster when errors occur, and gives users a link to redirect them back to the site`s homepage....

Regular Expressions And Forms  Regular Expressions And Forms

 Some basic examples of using regular expressions to validate user submitted form fields....
Tags:

How to Create Your Own Exception Classes in PHP  How to Create Your Own Exception Classes in PHP

 Learn to get control over how (or if) error messages are displayed to users, even though you`re using several third-party libraries that each have their own views on handling errors....

 

 

Pages :  1