Your Ad Here

PHP Directory : WorldofPHP.NET >> Tips and Tutorials >> Error Handling

 
Sponsor

PHP : Error Handling
Total Result: 4 Displaying: 1 - 4 Pages : 1
 
Sort Listings By :
 
A simple Custom Error Page Generator in PHP Total Hits : 83

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.

DETAILS
VISIT
Version: N/A | Cost : $ 0 | Scripting Language : Linux,Windows | Last Updated : Thu, Nov 22, 2007  
ASP.NET Version : PHP 5  
   
Member Review : 0 | Member Rating : Visitor Reviews: 0 | Visitor Rating :


Writing Debuggable Code Total Hits : 119

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.

DETAILS
VISIT
Version: N/A | Cost : $ 0 | Scripting Language : Linux,Windows,FreeBSD,Mac OSX,Sun Solaris | Last Updated : Thu, Nov 22, 2007  
ASP.NET Version : PHP 5  
   
Member Review : 0 | Member Rating : Visitor Reviews: 0 | Visitor Rating :


Mail on 404 Total Hits : 65

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.

DETAILS
VISIT
Version: N/A | Cost : $ 0 | Scripting Language : Linux,Windows,FreeBSD,Mac OSX,Sun Solaris | Last Updated : Thu, Nov 22, 2007  
ASP.NET Version : PHP 5  
   
Member Review : 0 | Member Rating : Visitor Reviews: 0 | Visitor Rating :


Custom Error Handling with PHP Total Hits : 61

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.

DETAILS
VISIT
Version: N/A | Cost : $ 0 | Scripting Language : Linux,Windows,FreeBSD,Mac OSX,Sun Solaris | Last Updated : Thu, Nov 22, 2007  
ASP.NET Version : PHP 5  
   
Member Review : 0 | Member Rating : Visitor Reviews: 0 | Visitor Rating :



1