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" <[EMAIL PROTECTED]>
To: <php-general@lists.php.net>
Sent: Tuesday, December 28, 2004 2:51 PM
Subject: Re: [PHP] $_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



Reply via email to