Property name |
Default value |
Description |
Auto |
True |
Set to True when the file is selected to upload directly, false need to click the Upload button to upload. |
Buttonclass |
” |
Button style |
Buttoncursor |
' Hand ' |
The way the mouse pointer hovers over the button |
Buttonimage |
Null |
The path to the picture of the browse button. |
ButtonText |
' SELECT FILES ' |
The text of the browse button. |
Checkexisting |
False |
File Upload duplicate check program, check the file will be uploaded on the server side has been existing, there is returned 1, does not exist to return 0 |
Debug |
False |
If set to TRUE indicates debug mode for SWFUpload enabled |
Fileobjname |
' Filedata ' |
The name of the file upload object, if named ' The_files ', the PHP program can use $_files[' the_files ' to process the uploaded file object. |
Filesizelimit |
0 |
The size limit of the upload file, if the integer is the size of KB, if it is a string, you can use (B, KB, MB, or GB) as a unit, such as ' 2MB '; If set to 0, it means no limit |
Filetypedesc |
' All Files ' |
This property value must be set to the Filetypeexts property before it is valid to set the prompt text in the Select File dialog box, such as setting Filetypedesc as "Please select RAR doc PDF File" |
Filetypeexts |
‘*.*' |
Sets the type of file that can be selected, in the format of: ' *.doc;*.pdf;*.rar '. |
FormData |
|
The additional data submitted to the server at the same time as the JSON format uploads each file can be set dynamically using the ' settings ' method in the ' Onuploadstart ' event. |
Height |
30 |
Sets the height of the browse button, the default value |
ItemTemplate |
False |
To set up an HTML template for an upload queue, you can use the following tags: ID of the Instanceid–uploadify instance ID of this file in the fileid– queue, or understand the ID of this task Name of the filename– file filesize– the current upload file size To insert a template label with a format such as: ${filename} |
Method |
Post |
Submit Method Post or get |
Multi |
True |
When set to True, multiple files can be uploaded. |
Overrideevents |
|
Set which events can be overridden, JSON format, such as: ' Overrideevents ': [' onuploadprogress '] |
Preventcaching |
True |
If true, automatically adds a string of random string parameters each time the file is uploaded, preventing the URL cache from affecting the upload result |
Progressdata |
' Percentage ' |
Set upload progress display mode, percentage display upload percentage, speed display upload speed |
Queueid |
False |
Sets the ID of the upload queue container dom element and, if false, automatically generates a queue container. |
Queuesizelimit |
999 |
The maximum number of tasks displayed by the queue, and if the number of files selected exceeds this limit, the Onselecterror event will be set off. Note This is not the maximum number of file uploads, if you want to limit the maximum number of uploaded files, you should set Uploadlimit. |
removecompleted |
True |
Whether the completed task is automatically removed from the queue, and if set to False, this task remains displayed. |
Removetimeout |
3 |
If you set the task to be automatically removed from the queue when it is finished, you can specify the interval from completion to removal. |
Requeueerrors |
False |
If set to true, a single task will return an error after the upload fails and rejoin the task queue upload. |
Successtimeout |
30 |
When the file is uploaded successfully, the server should return the success flag, and this setting returns the timeout for the result. |
Swf |
' Uploadify.swf ' |
The relative path of the uploadify.swf file. |
Uploader |
uploadify.php |
The relative path of the background handler. |
Uploadlimit |
999 |
The maximum number of uploaded files, which will trigger the Onuploaderror event if this limit is reached or exceeded. |
Width |
120 |
Sets the width of the file navigation button. |