You are here: Upload of bug files « PHP Programming Language « IT news, forums, messages
Upload of bug files

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация