Posted by Kim Andrι Akerψ on 03/02/06 11:09
Mitul wrote:
> Hello friends,
>
> I need a help for upload media file. I had tried for that but getting
> following result after uploading wmv file in $_FILE variable.
>
> [MediaLink1] => Array
> (
> [name] => bada_gosht.wmv
> [type] =>
> [tmp_name] =>
> [error] => 1
> [size] => 0
> )
>
> So Please help me how to upload different kind of media file (audio
> and video)?
>
> Need your help as soon as possible.
>
> Any suggestion always welcome.
As you see, $_FILE[MediaLink1][error] = 1. According to the PHP manual
on file upload errors:
UPLOAD_ERR_INI_SIZE
Value: 1; The uploaded file exceeds the upload_max_filesize directive
in php.ini.
http://php.net/features.file-upload.errors
Generally meaning, the file is too big. Either upload a smaller file or
change the upload_max_filesize in php.ini.
http://php.net/ini.core#ini.upload-max-filesize
--
Kim AndrΓ© AkerΓΈ
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
[Back to original message]
|