Skip to content
Advertisement

Tag: filtering

PHP filter_input_array for $_FILES?

Is there a way to filter_input_array for $_FILES? I tried but it doesn’t seem to be the same syntax as $_POST: And after quick check of the Constants List shows that it isn’t an installed definition for filter_input_array. So, should I define it some other way? DEFINE(‘INPUT_FILES’ $_FILES); likes to throw errors in filter_var_array like Answer You can’t use filter_input_array

Advertisement