Results 1 to 4 of 4

Thread: Supress PHP errors?

  1. #1

    Supress PHP errors?

    Is there anyway to prevent PHP from outputting any text/html upon encountering an error?

  2. #2
    Quote Originally Posted by duncanhall View Post
    Is there anyway to prevent PHP from outputting any text/html upon encountering an error?
    put:
    PHP Code:
    error_reporting(0); 
    at the top of the page

    http://php.net/error_reporting

  3. #3

  4. #4
    Cheers both of you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012