Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2004
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how to catch the errors and warnings of PHP to build a log file

    Greetings

    How can I "catch" the errors and warnings of PHP and MySQL when somethig goes wrong, so the user don't see those messages on browser and I can create a log file with those message, or send email with the errors?



    Thank ou very much

    Sérgio

  • #2
    New to the CF scene
    Join Date
    Jul 2003
    Location
    Minnesota
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    most hosting sites automatically do this for you. In the directory with the error it will create a log file for you.

  • #3
    New Coder
    Join Date
    Jan 2003
    Location
    Tulsa, OK
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts


  •  

    Posting Permissions

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