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

Re: [PHP] Upload a File

2001-04-25 Thread Rasmus Lerdorf
On Wed, 25 Apr 2001, Rafael Faria wrote: > i tried: > if (!move_uploaded_file($MyFile,"/home/vacamarela/public_html/rafael")) { > echo "can't copy"; > exit; > } > > and retur "can't copy" Does your web server used id have write permission in that directory and execute p

Re: [PHP] Upload a File

2001-04-25 Thread Rafael Faria
i tried: if (!move_uploaded_file($MyFile,"/home/vacamarela/public_html/rafael")) { echo "can't copy"; exit; } and retur "can't copy" my form is :/ Rafael >Acesso fácil, rápido e ilimitado? Suporte 24hs? R$19,90? >Só no AcessoBOL. http://www.bol.com.br/acessobol