On Jan 22, 2008 3:59 PM, Richard Lynch <[EMAIL PROTECTED]> wrote:
> On Mon, January 21, 2008 10:03 am, Nathan Nobbe wrote:
> > On Jan 21, 2008 10:19 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
> >
> >> I don't think making a single generic function to iterate over every
> >> value in the GET/POST a
On Mon, January 21, 2008 10:03 am, Nathan Nobbe wrote:
> On Jan 21, 2008 10:19 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
>
>> I don't think making a single generic function to iterate over every
>> value in the GET/POST arrays is a very good idea. Each field on a
>> form can contain very differen
rectified ;-)
Originele bericht
On Jan 21, 2008 11:51 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
yeah - you'll get used to it, mostly. it happens to everyone that they seem to
be
getting replies to things they didn't write - I was responding to the OP in this
case - adding to
On Jan 21, 2008 10:19 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
> I don't think making a single generic function to iterate over every
> value in the GET/POST arrays is a very good idea. Each field on a
> form can contain very different pieces of data that should be handed
> quite differently.
Eric Butera schreef:
...
then from client space you would just say
InputFilter::filterInput();
then, subsequently you can use $_POST and $_GET directly with the
assumption
that the input has been escaped.
BAD! assuming $_GET/$_POST are sanitized and escaped is always wrong. stick
cleaned/val
On Jan 20, 2008 10:06 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> On Jan 20, 2008 9:47 PM, nihilism machine <[EMAIL PROTECTED]> wrote:
>
> > how does this look? should this by me calling ... myforms = new
> > forms(); work by turning all key/value pairs for both get and post
> > into variable nam
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.
>
> ie: $_POST['someFor
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
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.
ie: $_POST['someFormInputName'] = "somevalue" ... turns into
$someFormInputName = "somevalue"
On Jan 20, 2008 9:47 PM, nihilism machine <[EMAIL PROTECTED]> wrote:
> how does this look? should this by me calling ... myforms = new
> forms(); work by turning all key/value pairs for both get and post
> into variable names of the same name as the get/post key, and the
> variable values as the v
how does this look? should this by me calling ... myforms = new
forms(); work by turning all key/value pairs for both get and post
into variable names of the same name as the get/post key, and the
variable values as the values from the post/get?
class forms {
// Some stuff
11 matches
Mail list logo