Forum

Number Of Page View:100,000+/Months
LOGIN |New User

Reply

How we handle errors in PHP?Explain it?
In PHP we can handle errors easily.Because when error comes it gives error line with their respective line and send error message to the web browser.
 When we creating any web application and scripts. We should handle errors wisely.Because when this not handle properly it can make bg hole in security.
 In PHP we handle errors by using these methods:
1.Simple "die()" statements
2.Custom errors and error triggers
3.Error reporting
 
Posted By: Name:Rajesh Kr URL: How we handle errors in PHP?Explain it?