Datei-Upload-API

Hochladen von Dateien direkt von Ihrem server ist nun möglich und sehr einfach.

Download filemack PHP-Klasse Holen Sie API-Keys

include('filemack.class.php');

## 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	
$filemack->all();

## 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
Array
(
    [success] => 1
    [embed] => <iframe src="https://www.filemack.com/embed/YdugtL8sSzV5?c1=375a7f&c2=ffffff" frameborder="0" scrolling="none" width="100%" height="64"></iframe>
    [links] => Array
        (
            [filemack] => https://www.filemack.com/YdugtL8sSzV5
            [clicknupload] => https://www.filemack.com/cu_tQwdzijxCJpmOIqd
            [zippyshare] => https://www.filemack.com/zs_fL6CxCymd7EUe9Qh
            [dopefile] => https://www.filemack.com/df_rPNgoMH7pznIK6rq
            [affix] => https://www.filemack.com/af_c54jPe26dfcEc30a
            [tusfiles] => https://www.filemack.com/tf_RGtEhDrnlTMHsSKO
            [suprafiles] => https://www.filemack.com/sf_vm4g0FuRwXlxbBsP
        )

)
						

Audio-Player-API

Sie können dieses javascript zum einbetten von unserem audio-player und das streamen der eigenen MP3. Dies erlaubt Ihnen auch, passen Sie die Spieler, die Farben.



<script>
var fm_audio_title = 'Ryan Little - Paradise.mp3',
    fm_audio_url = 'https://www.filemack.com/embed/stream-demo.mp3',
    fm_embed_color_1 = '375a7f',
    fm_embed_color_2 = 'ffffff';
</script>
<script type="text/javascript" src="//filemack.com/embed/player.js"></script>
						

URL Auto-Shrinker

Geld verdienen alle Datei-links von hosts, die wir derzeit Unterstützung durch die Einbettung dieser einfache javascript-Datei.

Holen Sie API-Keys

<script>
var fm_api = 'YOUR_API_KEY';
</script>
<script type="text/javascript" src="//www.filemack.com/embed/api.js"></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 | Datenschutzerklärung | Features | Verdienen Sie $$$ | Audio-Player | API | Kontaktieren Sie Uns