Results 1 to 3 of 3

Thread: [RESOLVED] PHP Warning Messages

  1. #1

    Thread Starter
    Frenzied Member usamaalam's Avatar
    Join Date
    Nov 2002
    Location
    Karachi
    Posts
    1,308

    Resolved [RESOLVED] PHP Warning Messages

    Hello everybody,

    My php file gives warning messages when I execute it. How can I disable/hide these warning messages to display on the page?

    Thanks.

  2. #2
    Registered User nmadd's Avatar
    Join Date
    Jun 2007
    Location
    U.S.A.
    Posts
    1,676

    Re: PHP Warning Messages

    Hi there,
    In your php.ini you can set the display_errors directive to Off.
    See more here:
    http://us2.php.net/errorfunc

  3. #3
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: [RESOLVED] PHP Warning Messages

    Turning off warnings is a bad idea. You should fix the warnings, not suppress them; otherwise, you will be lost when your application starts behaving in an unexpected manner.

Posting Permissions

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



Click Here to Expand Forum to Full Width