Reply to Re: problems with $_FILES

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация