Results 1 to 3 of 3

Thread: How to enable display errors for a single php file

  1. #1
    Join Date
    Mar 2009
    Location
    Chennai, India
    Posts
    77
    Thanks
    16
    Thanked 7 Times in 6 Posts

    Default How to enable display errors for a single php file

    Displaying errors is turned off in my web server... Now, Is it possible to enable errors for just one php file?

  2. #2
    Join Date
    Jul 2008
    Posts
    199
    Thanks
    6
    Thanked 58 Times in 57 Posts

    Default

    Place this at the top of your file:
    PHP Code:
    error_reporting(E_ALL E_NOTICE); 

  3. The Following User Says Thank You to techietim For This Useful Post:

    borris83 (04-08-2009)

  4. #3
    Join Date
    Mar 2009
    Location
    Chennai, India
    Posts
    77
    Thanks
    16
    Thanked 7 Times in 6 Posts

    Default

    thanks for your reply.. I will try it

Bookmarks

Posting Permissions

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