Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 800 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 800 Bytes

JqueryFileUpload - CakePHP v 0.1


Using the jQueryFileUpload from blueimp in CakePHP 2.1.x

You can find the documentation [here][fileupload] [fileupload]: https://github.com/blueimp/jQuery-File-Upload

Quick start

  • Download this plugin and move to app/Plugins/FileUpload

  • Create a table named uploads in your database with the following structure:

CREATE TABLE uploads (
id int(11) NOT NULL AUTO_INCREMENT,
name varchar(255) NOT NULL,
size int(11) NOT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
  • Include the plugin in your app/Config/bootstrap.php file
CakePlugin::load('FileUpload');
  • Start upload files at http://yourapp.com/file_upload