|
Posted by Rik Wasmus on 01/14/08 22:58
On Mon, 14 Jan 2008 23:52:33 +0100, yawnmoth <terra1024@yahoo.com> wrote=
:
> I'm trying to write a script that'll let me upload a *.xls file and am=
> having some difficulties. Here are the contents of $_FILE:
>
> Array
> (
> [filename] =3D> Array
> (
> [name] =3D> filename.xls
> [type] =3D>
> [tmp_name] =3D>
> [error] =3D> 2
> [size] =3D> 0
> )
> )
>
> As you can observe, there's no tmp_name set and error is set to 2.
> What does this mean? How can I fix it? There doesn't seem to be a
> whole lot of documentation on it on php.net:
Hmmm, there's some obscure reference in the manual about something calle=
d =
'file uploads'.
http://nl.php.net/manual/en/features.file-upload.php
http://nl.php.net/manual/en/features.file-upload.errors.php
UPLOAD_ERR_FORM_SIZE
Value: 2; The uploaded file exceeds the MAX_FILE_SIZE directive that was=
=
specified in the HTML form.
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|