In a free script I use, when it runs on my hosting no errors are displayed, but when it runs on my local 'test' machine I get Undefined index errors on $_GET and $_SESSION variable because I don't check them using isset()
My question is what is the 'correct' php standard? Should all these types of variables be checked first or is it OK to hide the errors?
The 'clean and elegant' programmer in me says, no check them all, it's the only way you can be sure your code will work.
Whilst the 'quick and dirty' coder whispers in my other ear, nah, don't worry, she'll be right mate.
Just wanted to pick the php wisdom on this forum as to the best practice.
Pointing me in the direction of a good php standards resource would be cool too!