|
Posted by Defacta on 08/09/07 13:09
Hi,
I have set my max upload file to 200M by modifiying the php.ini file:
; Maximum allowed size for uploaded files.
upload_max_filesize = 200M
The function:
echo ini_get("upload_max_filesize") ;
display 200M.
But I cannot upload files bigger than 7N, and yet I have no error
message, the script of the form is executed as if the form where
empty !
Does anyone know how to upload big files in a <form> ?
For exemple, if I put this at the beginning of the script:
copy($HTTP_POST_FILES['img']['tmp_name'],
$path_howsthat."/clients_imgs/toto.jpg") ;
It does not copy anything and there is no error message, also,
echo $HTTP_POST_FILES['img']['tmp_name'] is empty
Thanks,
Vincent.
Navigation:
[Reply to this message]
|