I've tried checking if $_POST and $_GET vars are set with just

if($_POST['yuck'])

When 'yuck' is not present my code always explodes with
*"Notice*: Undefined index: yuck" on the page output.
I never see any mention in the codes examples referencing a php
function that instructs the preprocessor not to output
such messages, but I've seen this used a lot of places.
I'm forced to use isset() with everything.  Now, if there is
a switch to set in php.ini, this will do my no good since I
only have access to it on my dev box.  Am I missing out
on something here, or do people just accept such messages (doubt it).





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to