Re: [PHP] upload a file directly to the proper directory

2002-03-21 Thread pierre . marcandella
Hi, Bogdan, Thanks for your help. It isn't a SQL error. I do not upload the file to a database. I have been able to upload a 4M file. I really think it is because the memory_limit of the server is 8M. And that means that it doesn't have enough resource to copy the uploaded file from the tempora

Re: [PHP] upload a file directly to the proper directory

2002-03-19 Thread Bogdan Stancescu
Do you get a PHP or a SQL error? I had this problem, but my problem was MySQL, not PHP (i.e. PHP handles uploads > 2MB and MySQL doesn't by default). The error I got was "MySQL server has gone away" or something similar. Bogdan [EMAIL PROTECTED] wrote: >I have to upload files. >My scripts do

[PHP] upload a file directly to the proper directory

2002-03-19 Thread pierre . marcandella
I have to upload files. My scripts don't work with large files. On the "Chapter 19. Handling file uploads" from the php.net doc I found the following comments : [EMAIL PROTECTED] 26-Feb-2002 08:24 When uploading large files, I've found that the memory limit has to be twice as large as the uplo