Redirecting the page if any errors occur

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bishwadeep
    New Member
    • Nov 2006
    • 12

    Redirecting the page if any errors occur

    Hello friends I have a problem and I need it to be solved quickly. So please help me. I am supposed to make a site error free.The site is built using PHP/MYsql.
    Here is the problem
    If any error is occurred in any page. Then the browser should automatically be redirected to the home page of the site.
    Note: the errorrs can be php errors or the mysql errors.
  • Motoma
    Recognized Expert Specialist
    • Jan 2007
    • 3236

    #2
    Take a look at PHP.net's Error Handling Documentation.

    Comment

    Working...