Friday, 15 May 2015

How to remove a certain file from php $_FILES array? -



How to remove a certain file from php $_FILES array? -

sometimes when wanna upload number of files , conf file within it, after retrieve info conf file, it's no longer useful, how can remove $_files array (not uploads folder)?

$files associative array of index arrays, html this:

<input type="file" name="my_file[]" multiple>

to remove, unset($_files['nameoffile']);

php

No comments:

Post a Comment