On Jan 20, 2008 10:15 PM, nihilism machine <[EMAIL PROTECTED]>
wrote:

> im trying to keep this php4 OOP. im just trying to clean the post/gets
> and then make them all into variables with their names being the keys
> to the get/post, and their values as the variables values.


then all you have to do is remove the static keyword from the code i posted
(and clean any syntax errors ;)).

ie: $_POST['someFormInputName'] = "somevalue" ... turns into
> $someFormInputName = "somevalue".


thats what the code i put out there does; did you try it yet?

I am not concerned about cleaning the input as i have a function
> already for that.


then feed it as the callback function to the InputFilter::filterInput()
method and all the converted variables will be cleaned as well.

-nathan

Reply via email to