Check these settings in php.ini
post_max_size = 10M
file_uploads = On
upload_max_filesize = 10M
post_max_size and upload_max_filesize should be greater than the maximum
file size you are trying to upload; however, you do not want to set this too
high, PHP uploads and posts do have their limitations. Excessive amounts
will affect the overall performance of your server.
From: Gasser Pascal [mailto:p.gasser (at mark) wapspirit.ch]
Sent: Monday, November 29, 2004 2:34 PM
To: coba-e (at mark) bluequartz.org
Subject: [coba-e:01621] Re: php upload file BQ - FC1
The tmp is with the permission 777
----- Original Message -----
From: "Paul Aviles" <paul.aviles (at mark) palei.com>
To: <coba-e (at mark) bluequartz.org>; <coba-e (at mark) bluequartz.org>
Sent: Monday, November 29, 2004 6:48 PM
Subject: [coba-e:01620] Re: php upload file BQ - FC1
> Do this as a test, change the permission to 666 on /tmp and see if that
> works. On some file systems, you cannot create
> a file if you don't have permissions but you can touch a file.
> On Mon, 29 Nov 2004 17:46:59 +0100, Gasser Pascal wrote
>> Since 1 week I have this message when I want upload a file.
>> Warning: move_uploaded_file(): Unable to move '/tmp/phpgMAH9L' to ....
>> The file is created but with 0 kb, the problem is (maybe) the file is
>> created with the 644 permission.
>> Where is the umask parameter for upload file ?
>> I come crazy
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
> Paul Anthony Aviles
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.