Categories
PHPTips and Tutorials → Error Handling

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.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

Regular Expressions And Forms

Some basic examples of using regular expressions to validate user submitted form fields.
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

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 scri...
  • Platforms
    • Linux,
    • Windows
  • Licenses
    • Freeware
DETAILS

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 yo...
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS

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.
  • Platforms
    • Linux,
    • Windows,
    • FreeBSD,
    • Mac OSX
  • Licenses
    • Freeware
DETAILS

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...
  • Platforms
    • Linux
  • Licenses
    • Freeware
DETAILS
©2019 A--9.com