SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Jul 2001
    Location
    Cork, Ireland
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Warnings in PHP4

    How do I turn off warnings in PHP4. Currently I'm using functions that use multiple arguments. If I call a function that has less than the maximum number of arguments a warning is generated. I just want to turn of the warnings.

    Which PHP variable is responsible for this and what do I set it to?

    Thanks

  2. #2
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://php.net/manual/en/configuration.php

    In your php.ini file:

    error_reporting 6

    6 should turn of warnings reporting but leave error reporting and parse error reporting on.


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
  •