PHP Classes

PHP API class: Upload local or remote files to

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 285 All time: 7,552 This week: 78Up
Version Licenses PHP version Categories
uploads-im 1.0.2GNU Free Document...5.0PHP 5, Files and Folders, Web services


This class can upload local or remote files to

It can send HTTP requests to the API Web server to uploads files to the service.

The class can either upload files available on the local machine or files available on another server given the URL of such files.

It returns an array with the results of the upload operation including whether it succeeded, a status message, the URL of the uploaded file in the site and a key for deleting the message.

Picture of Amir
Name: Amir <contact>
Classes: 4 packages by
Country: Luxembourg Luxembourg
Age: 37
All time rank: 17042 in Luxembourg Luxembourg
Week rank: 275 Up1 in Luxembourg Luxembourg Up
Innovation award
Innovation award
Nominee: 1x



require_once dirname(__FILE__) . '/uploadsim.class.php';
$upload = new uploadsim();
$result = $upload->localupload("image.jpg");
if (
$result["status"] = true) {
} else {
$result = $upload->remoteupload("");
if (
$result["status"] = true) {
} else {

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example script
Plain text file uploadsim.class.php Class class source

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,552
This week:78Up