Pobieranie pliku CUI

Pobieranie plików bezpośrednio z serwera, teraz można i to bardzo łatwo.

Pobierz klasa filemack na PHP Zobacz klucze API

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
        )

)
						

Odtwarzacz audio API

Możesz użyć tego kodu JavaScript do umieszczenia odtwarzacz audio i strumienia swój w mp3. To także pozwala dostosować graczy kolory.



<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 psychiatry

Zarabiać na dowolny plik linków z hostów obecnie wspieramy, stosując ten prosty JavaScript-plik.

Zobacz klucze API

<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.

W domu | Zgodnie z ustawą DMCA | Polityka Prywatności | Features | Zarobić $$$ | Odtwarzacz Audio | API-interfejs | Skontaktuj Się Z Nami