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