Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Is it ok to use error_reporting(0) to get rid of error msg?

 
Goto page Previous  1, 2
   Database Forums (Home) -> PHP RSS
Next:  Triggers  
Author Message
steve




Joined: Jan 06, 2004
Posts: 660



(Msg. 16) Posted: Fri Jan 21, 2005 2:30 pm
Post subject: Re: Is it ok to use error_reporting(0) to get rid of error m [Login to view extended thread Info.]

Patrick, glad to be of help. If you write your own code, it is better to do it right the first time, or accept undefined as a "value" --which is ok too, as long as it is used consistently.

When you get code from others, then oftentimes you don't have a choice. Most3rd party code would have a lot of undefined, and then it is advisable to accept undefined as a value, and go on with it.

 >> Stay informed about: Is it ok to use error_reporting(0) to get rid of error msg? 
Back to top
Login to vote
steve




Joined: Jan 06, 2004
Posts: 660



(Msg. 17) Posted: Fri Jan 21, 2005 2:36 pm
Post subject: Re: Is it ok to use error_reporting(0) to get rid of error m [Login to view extended thread Info.]

Patrick, glad to be of help. If you write your own code, it is better to do it right the first time, or accept undefined as a "value" --which is ok too, as long as it is used consistently.

When you get code from others, then oftentimes you don't have a choice. Most3rd party code would have a lot of undefined, and then it is advisable to accept undefined as a value, and go on with it.

 >> Stay informed about: Is it ok to use error_reporting(0) to get rid of error msg? 
Back to top
Login to vote
steve




Joined: Jan 06, 2004
Posts: 660



(Msg. 18) Posted: Fri Jan 21, 2005 2:38 pm
Post subject: Re: Is it ok to use error_reporting(0) to get rid of error m [Login to view extended thread Info.]

Patrick, glad to be of help. If you write your own code, it is better to do it right the first time, or accept undefined as a "value" --which is ok too, as long as it is used consistently.

When you get code from others, then oftentimes you don't have a choice. Most3rd party code would have a lot of undefined, and then it is advisable to accept undefined as a value, and go on with it.
 >> Stay informed about: Is it ok to use error_reporting(0) to get rid of error msg? 
Back to top
Login to vote
steve




Joined: Jan 06, 2004
Posts: 660



(Msg. 19) Posted: Fri Jan 21, 2005 3:07 pm
Post subject: Re: Is it ok to use error_reporting(0) to get rid of error m [Login to view extended thread Info.]

Patrick, glad to be of help. If you write your own code, it is better to do it right the first time, or accept undefined as a "value" --which is ok too, as long as it is used consistently.

When you get code from others, then oftentimes you don't have a choice. Most3rd party code would have a lot of undefined, and then it is advisable to accept undefined as a value, and go on with it.
 >> Stay informed about: Is it ok to use error_reporting(0) to get rid of error msg? 
Back to top
Login to vote
steve




Joined: Jan 06, 2004
Posts: 660



(Msg. 20) Posted: Fri Jan 21, 2005 3:07 pm
Post subject: Re: Is it ok to use error_reporting(0) to get rid of error m [Login to view extended thread Info.]

Patrick, glad to be of help. If you write your own code, it is better to do it right the first time, or accept undefined as a "value" --which is ok too, as long as it is used consistently.

When you get code from others, then oftentimes you don't have a choice. Most3rd party code would have a lot of undefined, and then it is advisable to accept undefined as a value, and go on with it.
 >> Stay informed about: Is it ok to use error_reporting(0) to get rid of error msg? 
Back to top
Login to vote
steve




Joined: Jan 06, 2004
Posts: 660



(Msg. 21) Posted: Fri Jan 21, 2005 3:08 pm
Post subject: Re: Is it ok to use error_reporting(0) to get rid of error m [Login to view extended thread Info.]

Patrick, glad to be of help. If you write your own code, it is better to do it right the first time, or accept undefined as a "value" --which is ok too, as long as it is used consistently.

When you get code from others, then oftentimes you don't have a choice. Most3rd party code would have a lot of undefined, and then it is advisable to accept undefined as a value, and go on with it.
 >> Stay informed about: Is it ok to use error_reporting(0) to get rid of error msg? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
parse error or infinite loop? a blank screen, yet the php .. - Imagine a template system that works by getting a file, as a string, and then putting it through eval(), something like this: $formAsString = $controller->command("readFileAndReturnString", $formName); // 06-22-07 - the next comm...

Error log. - Is there an error log in which PHP reports script related problems ? Peter

Error - I m getting this error while uploading an image through form copy(http://localhost/madame/uploads/alt/medium/zoom.gif) [function.copy]: failed to open stream: HTTP wrapper does not support writeable connections. in..

Parse error - Hi, What's wrong with this line? I'm getting parse errors for it: if ( empty($payment) || !is_numeric($payment) ) {

php3-error - hi all ive got php-4.3.9-3 on my fedora3....tried installing phptimesheet-1.2.4.tar.gz on my system..extracted the folder to document root of apache2..all the files of the timesheet have php3 extensions... php is working fine on my sys but php3 is not..
   Database Forums (Home) -> PHP All times are: Pacific Time (US & Canada)
Goto page Previous  1, 2
Page 2 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]