bored

A micro PHP framework
git clone git://git.bitsmanent.org/bored
Log | Files | Refs | README

commit 571a721358462779a96c3263e689239b606209d3
parent 9b16e28db342d2662fd865ae2d2df4ba1f328692
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Wed, 26 Jun 2019 17:33:02 +0200

Unset file-related POST data.

Diffstat:
Mbored.php | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/bored.php b/bored.php @@ -456,6 +456,7 @@ function prepare_form() { $ret[$t][$k] = $txt; } } + unset($_POST[$grp]); /* get rid of files-related POST data */ $idx += count($ret); } $_FILES = $ret;