Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/cvc/js/multi-upload/ drwxr-xr-x |
Viewing file: documentation.html (40.16 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
jQuery Plugins:
Multiple File Upload,
Star Rating,
NEW:
CKEditor
(old: FCKEditor),
Codepress,
XML to JSON
What is this?The Multiple File Upload Plugin (jQuery.MultiFile) is a non-obstrusive plugin for the jQuery Javascript library that helps users easily select multiple files for upload quickly and easily whilst also providing some basic validation functionality to help developers idenfity simple errors, without having to submit the form (ie.: upload files). How do I use it?
Just add the
Use the
Use the
PS.: Server-side validation is always required. Using HTMLUsing class propertyMoving the file list
Customising the file listUsing events
Advanced UsageUsing your own selectors
Setting limit via script
Advanced configuration
Customising visible strings for multi-lingual support
Multi-lingual supportThe plugin doesn't have any additional languages built-in, but it's very easy to customise the messages to any language of your choosing. See the examples below... NB.: This example has been configured to accept gif/pg files only in order to demonstrate the error messages. Method 1: Using class property (require MetaData plugin)
Method 2: Programatically by ID (ONE element only, does not require MetaData plugin)
Method 3: Programatically (n elements, does not require MetaData plugin)See this feature request for details
Can this plugin upload files?No, this jQuery plugin does not upload files Javascript is a client side language and cannot upload files - this plugin will only go as far as helping the user select the files to upload and assisting in the validation process by warning the user of common mistakes before server-side validation takes place. When the form is submitted, it's up to you to have a server-side script that will actually upload the files. Please do not email me asking how to do this!!! There is plenty of information out there and you can easily find it on Google. But because I'm such a nice guy, I've put a quick list of the best links here: ASP users
FreeASPUpload - Free, easy to use and no component required. This is my favourite.
PHP usersSee File Upload Tutorials from W3CSchools, About.com, Tizag
NOTICE TO PHP USERS:
The plugin's default behaviour generates an array of elements (sharing the same name).
In order for this array to be properly identified and handled in PHP, you have add "[]" to name of your element.
Having problems?1. Make sure your form has method=POST and enctype=multipart/form-data 2. Are you using valid (x)HTML? Invalid markup can stop the form from being submitted altogether 3. Are you using the correct element names as required/expected by your server-side script? 4. Have you tried uploading a single file without using the plugin? Makes sure this works before submitting a bug report I promise I can upload my own files. What do I need to know?You should know that the plugin works by hiding elements with a selected file and creating new empty elements. This means when submitting the form, there will always be an empty item at the end of the list of files. Actually, that would have been a problem but this plugin takes care of disabling all dummy empty file inputs for you before the form gets submitted - be it via ajax or natively. So this is good to know, but it's not something you need to worry about. However, if you are submitting the form programmatically via javascript, you must call this before submitting the form....
And if you're doing things the ajax way, you should call this when you're done to re-enable the dummy element:
AjaxYou may use the jQuery Form Plugin to submit the form via ajax. How do I reset the control?To reset the file selections, just make the following call:
DownloadThis project (and all related files) can also be accessed via its Google Code Project Page.
Related Downloads
InstallationRequired Files
Optional Files
Metadata Plugin
BlockUI Plugin
Form Plugin
SVN RepositoryIf you're a major geek or if you really really want to stay up-to-date with with future updates of this plugin, go ahead and plug yourself to the SVN Repository on the official Google Code Project Page.
Alternative Download - From this website
Just in case it's the end of the world and the Google Code site becomes unavailable,
the project files can also be downloaded form this site.
SupportQuick Support Links: Help me! | Report a bug | Suggest new feature
Support for this plugin is available through the jQuery Mailing List.
This is a very active list to which many jQuery developers and users subscribe.
WARNING: Support will not be provided via the jQuery Plugins website. If you need help, please direct your questions to the jQuery Mailing List or report an issue on the official Google Code Project Page. Official LinksCredit where it's due...
What's the catch?There's no catch. Use it, abuse it - even take it apart and modify it if you know what you're doing. You don't have to, but if you're feeling generous you can link back to this website (instructions below). Attribute this work
License Info
|
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0187 ]-- |