Index: [Article Count Order] [Thread]

Date:  Mon, 29 Nov 2004 18:23:03 -0600
From:  "Scott McClaiin" <smcclain (at mark) mcsgeek.com>
Subject:  [coba-e:01622] Re: php upload file BQ - FC1
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <000001c4d672$c236e5d0$0301a8c0@smcclain>
In-Reply-To:  <000501c4d652$d2f747e0$2000a8c0@Portable1>
X-Mail-Count: 01622

/etc/php.ini
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.







-----Original Message-----
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.
>
> -pa
>
>
> On Mon, 29 Nov 2004 17:46:59 +0100, Gasser Pascal wrote
>> Hello,
>>
>> 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
>>
>> Pascal
>>
>> -- 
>> 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.
>
>
>