Re: POST/GET into variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 20, 2008 10:15 PM, nihilism machine <nihilismmachine@xxxxxxxxx>
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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux