File Upload API

Uploading files directly from your server is now possible and extremely easy.

Download filemack PHP Class Get API Keys


## start the filemack class
$filemack = new filemack;

## set your api key
$filemack->api_key = 'YOUR_API_KEY';

## set your api secret
$filemack->api_secret = 'YOUR_API_SECRET';

## enable individual hosts
$filemack->clicknupload = 1;
$filemack->dopefile = 1;

## or enable all of them	

## change embed color 1
$filemack->embed_color_1 = '375a7f';

## change embed color 2
$filemack->embed_color_2 = 'ffffff';

## upload the file
#$links = $filemack->upload(dirname(__FILE__).'/audio.mp3');

## upload the file with new filename
$links = $filemack->upload(dirname(__FILE__)'/audio.mp3','Ryan Little - Paradise.mp3');

## links variable will be an array
    [success] => 1
    [embed] => <iframe src="" frameborder="0" scrolling="none" width="100%" height="64"></iframe>
    [links] => Array
            [filemack] =>
            [clicknupload] =>
            [zippyshare] =>
            [dopefile] =>
            [affix] =>
            [tusfiles] =>
            [suprafiles] =>


Audio Player API

You can use this javascript to embed our audio player and stream your own MP3's. This also allows you to adjust the players colors.

var fm_audio_title = 'Ryan Little - Paradise.mp3',
    fm_audio_url = '',
    fm_embed_color_1 = '375a7f',
    fm_embed_color_2 = 'ffffff';
<script type="text/javascript" src="//"></script>

URL Auto Shrinker

Monetize any file links from hosts we currently support by embedding this simple javascript file.

Get API Keys

var fm_api = 'YOUR_API_KEY';
<script type="text/javascript" src="//"></script>

filemack is not a file host. No files are hosted on filemack servers. We do not claim any of the materials and any copyright infringement complaints should be directed to the respective third party hosting site.

Home | DMCA | Privacy Policy | Features | Earn $$$ | Audio Player | API | Contact Us