file upload: $userfile is never none
| From: | Matthias Bendel | Date: | Sat, 23 Jun 2001 15:01:08 +0000 |
| Subject: | file upload: $userfile is never none | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-54977@lists.php.net to get a copy of this message | ||
sice i installed php 3.0.18 html forms whith blank file-input never returns 'none'.
$userfile is always unset.
with php 3.0.12 my file-upload scripts worked perfectly.
i know i could do samething like:
if ($userfile != 'none' && strlen($userfile)) { ... }
but i have alot of scripts to change.
is there a possibilty to configure php 3.0.18 returning $userfile = 'none' if the input-tag in the form left blank.
thx
matthias