http://us3.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting

Thank you guys for the isset() heads up. And Ben, for this good explanation of error reporting!

As others have pointed out, it's a good idea to call isset() on a
POST-variable before trying to get at its value. This will avoid a
notice being thrown.

OK, and I can work around all this anyway, but I would love to get it all in one line of code, that essentially says: (pseudocode)
if  ($IamNotEmpty && $IamEqualto='T') {
(where those are both the same var)


http://us2.php.net/manual/en/function.filter-input.php
The filter_* functions are only available in core since 5.2.0, though.

OK, ..good to plant seeds, but since that server is PHP 4.3, I'll save my brain now for until I can actually integrate that study.

------------
John Butler (Govinda)
govinda.webdnat...@gmail.com



Reply via email to