Re: $_FILE[user][error] = 6 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It may help to know what your form looks like.  Does your form have
the hidden MAX_FILE_SIZE variable before the file field?  Also, what
version of PHP are you running?

Anyways, just some suggestions.
-Chris


On Tue, 28 Dec 2004 15:18:16 -0500, Al <news@xxxxxxxxxxxxx> wrote:
> I keyed "$_FILE[user][error]" from memory, and it's wrong.  It really is "userfile";
> 
> Weird problem, eh!
> 
> Sebastian wrote:
> > not sure if its a typo but the array shows "userfile" and your variable
> > array shows "user"
> > it looks like the file isn't being passed at all, double check if you have
> > any typos..  type is blank which should at least show the mime type..
> >
> > ----- Original Message -----
> > From: "Al" <news@xxxxxxxxxxxxx>
> > To: <php-general@xxxxxxxxxxxxx>
> > Sent: Tuesday, December 28, 2004 2:51 PM
> > Subject: Re:  $_FILE[user][error] = 6 ?
> >
> >
> >
> >>Doesn't work on any file type.
> >>
> >>I've checked the usual suspects. e.g.
> >><form enctype="multipart/form-data" action="_url_" method=\"post\"> URL is
> >
> > my
> >
> >>php file.
> >>
> >>On Wednesday 29 December 2004 01:40, Al wrote:
> >>
> >>What is a $_FILE[user][error]=> 6
> >>
> >>I can't find Error level 6 in the manual or on Google.
> >>
> >>Here is my files array:
> >>
> >>[userfile] => Array
> >>        (
> >>             [name] => Readme.txt
> >>             [type] =>
> >>             [tmp_name] =>
> >>             [error] => 6
> >>             [size] => 0
> >>         )
> >>
> >>Doesn't make sense.  Readme.txt is simply a small text file on my local
> >
> > HD.
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux