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

From: Date: Tue, 28 Dec 2004 19:51:03 +0000
Subject: Re: $_FILE[user][error] = 6 ?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-205266@lists.php.net to get a copy of this message
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. Jason Wong wrote:
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. Note, type doesn't register either.
Does upload work at all, or does it only fail for that particular file?


« previous php.general (#205266) next »