feulf / rainframework

Easy MVC Framework for PHP

Home Page:https://rainphp.github.io/rainframework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get_post, without parameter throw an error

feulf opened this issue · comments

commented

in
filter_input_array( $GLOBALS['_GET_POST'], $filter )

$filter should be the array of all the variables

commented

Removed the filter from input variables and removed the control of "register_globals" deprecated since PHP 5.3.
Any variable should be sanitized with the prepared query of the DB class.