[PHP] More On: Good Practice: Variables, Error Reporting and Security

2002-10-05 Thread Adam Royle
I very much appreciate the suggestions made by the people on this list, although for me, when developing, the less typing I have to do, the less errors I am bound to come across, and therefore the less debugging I must do. (Now, doesn't this seem sensible?) Anyway, I have developed a function

Re: [PHP] More On: Good Practice: Variables, Error Reporting and Security

2002-10-05 Thread Sascha Cunz
Am Samstag, 5. Oktober 2002 20:44 schrieb Adam Royle: I very much appreciate the suggestions made by the people on this list, although for me, when developing, the less typing I have to do, the less errors I am bound to come across, and therefore the less debugging I must do. (Now, doesn't

Re: [PHP] More On: Good Practice: Variables, Error Reporting and Security

2002-10-05 Thread Adam Royle
What I mean is, by using functions to do the hard work for you, it is less common to make an obvious mistake. I have a couple of functions that I use in most of my scripts. eg. securityCheck(); // authenticates the user dbConnect(); // connects to database with default parameters (in config