Re: filter_input and $_POST deep array

From: Date: Fri, 23 Sep 2011 12:31:34 +0000
Subject: Re: filter_input and $_POST deep array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-315006@lists.php.net to get a copy of this message
On 9/23/2011 5:51 AM, jean-baptiste verrey wrote:
Hi, I have using a form that gives me something like $_POST=array(
     'login'=>array(
         'email'=>'hello@myphp.net',
         'password'=>'123456'
     )
) is there a way to use filter_input function to filter the values? I tried filter_input(INPUT_POST,'login[email]') but it does not work! Regards, Jean-Baptiste Verrey
foreach() in the manual

« previous php.general (#315006) next »