🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
[![Uploadify - JQuery File Upload Plugin Script](https://box.kancloud.cn/2015-11-02_5636cc82d8b6c.png)](http://www.uploadify.com) # fileDataName Input Type:**string** Input Format:**'someString'** Default:**'Filedata'** Required:**optional** The **fileDataName** option sets the name of the file input that the flash file uses when uploading the files. This value is used for referencing the files that have been uploaded in your back-end script. For example, if you set the value of **fileDataName** to 'uploadify', you would reference the uploaded files as **$_FILES['uploadify']** in your PHP script. ### Demo Javascript Code 1. $('#file_upload').uploadify({ 1.   'uploader'     : '/uploadify/uploadify.swf', 1.   'script'       : '/uploadify/uploadify.php', 1.   'cancelImg'    : '/uploadify/cancel.png', 1.   'folder'       : '/uploads', 1.   'fileDataName' : 'Filedata' 1. }); HTML Code 1. <inputtype="file"id="file_upload"name="file_upload"/> 1. <ahref="javascript:$('#file_upload').uploadifyUpload();">Upload Files</a> [Upload Files](#) [![Download the Latest Version](https://box.kancloud.cn/2015-11-02_5636cc82ea7d9.png)](#) Help keep Uploadify free and support the development of other excellent apps! ![](../image/564003e22ffc5.gif) [home](#)  |  [about](#)  |  [download](#)  |  [demos](#)  |  [documentation](#)  |  [faqs](#)  |  [forums](#) ©2011 by [Reactive Apps](http://www.reactiveapps.com)