zM Upload is a class used to ease the implemention of handling file uploads in WordPress.
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ImageMeta.php
MediaUpload.php
README.md
license.txt

README.md

zM Upload is a class used to ease the implemention of handling file uploads in WordPress.

Demo

Video Demo Integrated with Uploadify

Usage

// Some where in php land
include_once( 'zm-upload/MediaUpload.php' );

if ( $_POST ) {
    $tmp = new MediaUpload;
    $attachment_id = $tmp->saveUpload( $field_name='my_file' );
}

Enjoy.

Zane M. Kolnik June, 2012 http://zanematthew.com/

License:

Copyright 2012 Zane M. Kolnik

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA