Waldemar Schott wrote:
Hi Adam,
ZF has now two components called Zend_Filter_* and Zend_Validate_* for
this. But IMO it's quite harder compared too Zend_Filter_Input. Maybe
there will be something similar to Zend_Filter_Input after the 1.0
Release. Furthermore the class Zend is deprecated.
So there is no Zend way to get a variable without calling isset()
anymore by now with E_ALL - right?
I have to do a
if(isset($_POST['foo'])) {
$Filter = new Zend_Filter_Alnum();
$Filter->filter($_POST['foo']) ....
}
Is this right or do I miss something?
--
Daniel Khan