Hmmm, bad advice, you better to safely fix them.
Reply:
This is infact an extremely common practice, and infact 90% of the PHP applications
for download will generate these notice's. It doesn't mean anything's wrong it, just means
you did $somearray[pos] instead of $somearray['pos']. Same thing for un-initialized
variables not relating to array's. Granted, you can remove them with extremely careful
program rewriting, but why clutter all the code, and go through the mountain's of places
where code like this exists just to avoid being lazy and doing what is pretty much
the consensus of all sain people, and setting the variable to ignore notice's in the ini
file. Your answer of "better just fix them" is infact an EXTREMELY un-informed answer because
if you knew the shear amount of code and programs that existed that generates these notice's
you wouldn't even consider saying that, especially since it does no harm leaving it to
ignore warning's, and if your worried about it causing you to miss something on your
development, you can just set full error debugging at the top of your page to see the useless
crap that you can 99% of the time safely ignore.
-- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc |
signature.asc
Description: This is a digitally signed message part