Join Now  |  
Friends
icon search
Closed Sawaal posted on May 25 at 08:11pm - Closed
 
shantiverma2
shantiverma2
sawaals screen
How to turn off an on Screen warning in PHP smartly?

Closed sawaal Report Abuse
(0)
Vote
(0)
 
Email this Sawaal  
  Answers Total Answers: 2   Best Answer: pending Expert's Answers: 0
biomedical
biomedical

PHP will display errors and warnings on the screen according to the level of error reporting defined in either the php.ini file or at runtime using the error reporting function. Determine the error level you want to suppress. For example E-WARNING refers to all warning messages. Insert a call to the error-reporting function into the code, either at the beginning of the file or prior to where you want to suppress on-screen warnings. Pass the constant for all errors, a carat, and the constant for all warnings to display all errors except warnings and call the error-reporting function again if you want to display on-screen warnings at a future point in the application.

Overall Answer Rating 0 out of 5  
Rating Snapshot (0 votes)
5 star 
 0


4 star 
 0


3 star 
 0


2 star 
 0


1 star 
 0


(0 Votes)

This answer was added on June 19 at 02:07pm
gareden
gareden

Hey! PHP will display errors and warnings on the screen according to the level of error reporting defined in either the php.ini file or at runtime using the error reporting function. Determine the error level you want to suppress. For example E-WARNING refers to all warning messages. Insert a call to the error-reporting function into the code, either at the beginning of the file or prior to where you want to suppress on-screen warnings. Pass the constant for all errors, a carat, and the constant for all warnings to display all errors except warnings and call the error-reporting function again if you want to display on-screen warnings at a future point in the application.

Overall Answer Rating 0 out of 5  
Rating Snapshot (0 votes)
5 star 
 0


4 star 
 0


3 star 
 0


2 star 
 0


1 star 
 0


(0 Votes)

This answer was added on May 25 at 08:19pm
Categories



Think you're
an expert?
Then prove it. Share your
professional knowledge with
BolegaIndia Community.
Learn more.



about us    contact us    advertise with us    terms of service    privacy policy    report bug
© 2012 BolegaIndia.com Web Pvt. Ltd. All rights reserved.