note 79715 added to function.filter-input
| From: | vid at phpcult dot com | Date: | Mon, 10 Dec 2007 08:49:41 +0000 |
| Subject: | note 79715 added to function.filter-input | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-133137@lists.php.net to get a copy of this message | ||
If you want to use the callback filter with filter_input, you need to do something like:
$args = array ('options' => 'mycallbackfunction');
$foobar = filter_input(INPUT_POST,'postedvariable',FILTER_CALLBACK,$args);
----
Server IP: 69.147.83.197
Probable Submitter: 67.198.8.1
----
Manual Page -- http://www.php.net/manual/en/function.filter-input.php
Edit -- https://master.php.net/note/edit/79715
Del: integrated -- https://master.php.net/note/delete/79715/integrated
Del: useless -- https://master.php.net/note/delete/79715/useless
Del: bad code -- https://master.php.net/note/delete/79715/bad+code
Del: spam -- https://master.php.net/note/delete/79715/spam
Del: non-english -- https://master.php.net/note/delete/79715/non-english
Del: in docs -- https://master.php.net/note/delete/79715/in+docs
Del: other reasons-- https://master.php.net/note/delete/79715
Reject -- https://master.php.net/note/reject/79715
Search -- https://master.php.net/manage/user-notes.php