开发者

Uploadify refuses to upload WMV, FLV and MP4 files

开发者 https://www.devze.com 2022-12-23 22:56 出处:网络
The uploadify plugin for JQuery seems very good and works for most file types. However, it allows me to upload all file types apart from the ones I need.

The uploadify plugin for JQuery seems very good and works for most file types. However, it allows me to upload all file types apart from the ones I need.

Uploads of any other type work.

  • I have already tried changing the fileExt parameter and also tried removing it altogether.
  • I have testing in Google Chrome, IE7 and Firefox and none work for these file types.
  • I have a ton of local projects already and uploading is not an issue on any other project, I even use the same example files (This is the first time I have used Uploadify)

Is there a known reason for this behaviour?

E开发者_C百科DIT: Have found the issue. I had forgotten to add my usual .htaccess file to the example project which amends PHP to allow large file sizes. I will hang my head in shame for the rest of the day.


I am ashamed to admit that I did not follow the list of dumb things to check.

The issue was actually because my php upload setting was set too low.

I have now added this to my php ini:

upload_max_filesize = 1024M
post_max_size = 1024M

I use a .htaccess file on all my projects but obviously forgot to add it when setting up this uploadify example.

0

精彩评论

暂无评论...
验证码 换一张
取 消