Results 1 to 5 of 5
Threaded View
-
28th Oct 2011, 04:02 PM #4It begins...
WHOAAAAAAAAAAAAAAAAAAA! That is some really fucked up code. Use this instead:
PHP Code:<?php
$username = "";
$password = "";
$link = "";
//STOP, U NO EDIT BELOW!
$link = trim($link);
$id = explode('/', $link);
$id = trim($id[4]);
$page = file_get_contents("http://api.filesonic.com/link?method=getDownloadLink&u=$username&p=$password&ids=$id&format=json");
$page = json_decode($page, TRUE);
$finallink = trim($page['FSApi_Link']['getDownloadLink']['response']['links'][$id]['url']);
echo $finallink;
//PROFIT!
?>
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Filesonic Mega News - Everybody Must Read Now + 50 Free Premium Give Aways Here!
By FileSonic Hish in forum File Hosts Official SupportReplies: 355Last Post: 14th Jan 2012, 12:15 PM -
Anyone else get this error Filesonic
By YoungMike in forum File Host DiscussionReplies: 10Last Post: 14th Oct 2011, 10:38 AM -
Plz Give Solution for this Error
By Mr.WT in forum vBulletinReplies: 11Last Post: 3rd May 2011, 02:05 PM -
Please give me plugin for RL "filesonic premium download plugin"
By ThumperTM in forum General DiscussionReplies: 7Last Post: 7th Apr 2011, 06:27 AM
themaCreator - create posts from...
Version 3.55 released. Open older version (or...