[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/webservice/ -> upload.php (summary)

Accept uploading files by web service token to the user draft file area. POST params: token => the web service user token (needed for authentication) filepath => file path (where files will be stored) [_FILES] => for example you can send the files with <input type=file>, or with curl magic: 'file_1' => '@/path/to/file', or ... itemid   => The draftid - this can be used to add a list of files to a draft area in separate requests. If it is 0, a new draftid will be generated.

Copyright: 2011 Dongsheng Cai <dongsheng@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 160 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1