dongtang1910
dongtang1910
2011-12-04 23:20
浏览 69
已采纳

Adobe Air - Mime类型

For a download.php I need to set allowed file extensions. What do I need to insert for an Adobe Air file (.air) file?

 $allowed_ext = array (

      'zip' => 'application/zip'

Thanks Uli

图片转代码服务由CSDN问答提供 功能建议

对于download.php,我需要设置允许的文件扩展名。 我需要为Adobe Air文件(.air)文件插入什么内容?

  $ allowed_ext = array(
 
'zip'=>'application / zip  '
   
 
 

谢谢 Uli

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • doulaobi7988
    doulaobi7988 2011-12-04 23:30
    已采纳

    It needs to be set to application/vnd.adobe.air-application-installer-package+zip. In your case, 'air' would be the array key. More info on the official website.

    点赞 评论
  • doupingtang9627
    doupingtang9627 2011-12-04 23:29

    To spawn AIR application install:

    application/vnd.adobe.air-application-installer-package+zip

    点赞 评论

相关推荐