Results 1 to 10 of 17
-
25th Jan 2012, 02:44 PM #1OPRetired NinJaWebsite's:
loledhard.comBayfiles.com RL upload plugin & function
Was wondering for some free plus good filehost better then Rapidshare or Mediafire. & ShareShiz named me Bayfiles.com
I have been using it from yesterday & am kind of loving it. Totally awesome. Anyways some of the members were asking for RL upload plugin to Bayfiles.com. here it is along with a function if u has custom script. It uses Bayfiles' API
PHP Code:echo uploadBF("./temp.txt");
function uploadBF($x,$retry=0)
{
$user="";
$pass="";
if(trim($user)!="" && trim($pass)!="")
{
$page=curl('http://api.bayfiles.com/v1/account/login/'.$user.'/'.$pass.'');
$page=json_decode($page);
$session=$page->session;
$page=curl("http://api.bayfiles.com/v1/file/uploadUrl?session=$session");
}
else
{
$page=curl("http://api.bayfiles.com/v1/file/uploadUrl");
}
$page=json_decode($page);
$url=$page->uploadUrl;
$page=curl($url,array('file'=>"@$x"));
$page=json_decode($page);
$url=$page->downloadUrl;
if($url=="" && $retry!=1)
return uploadBF($x,1);
else
return $url;
}
function curl($link, $postfields = '')
{
$ch = curl_init($link);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 0);
//curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_USERAGENT, 'Opera/9.80 (Windows NT 5.1; U; en) Presto/2.7.62 Version/11.01');
if($postfields)
{
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $postfields);
}
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
curl_setopt($ch, CURLOPT_TIMEOUT, 1200);
$page = curl_exec($ch);
curl_close($ch);
return($page);
}
Code:http://bayfiles.com/file/1tXr/AuQnIB/bayfiles-rl-plugin.rar
CJ Reviewed by CJ on . Bayfiles.com RL upload plugin & function Was wondering for some free plus good filehost better then Rapidshare or Mediafire. & ShareShiz named me Bayfiles.com I have been using it from yesterday & am kind of loving it. Totally awesome. Anyways some of the members were asking for RL upload plugin to Bayfiles.com. here it is along with a function if u has custom script. It uses Bayfiles' API echo uploadBF("./temp.txt"); function uploadBF($x,$retry=0) { $user=""; $pass=""; Rating: 5
You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!
-
25th Jan 2012, 02:46 PM #2BannedWebsite's:
HotWallpapers.me AustraliaFlood.net VirtualUpload.net
-
25th Jan 2012, 02:55 PM #3BannedWebsite's:
cloudcache.cc
-
25th Jan 2012, 04:17 PM #4OPRetired NinJaWebsite's:
loledhard.com
-
25th Jan 2012, 04:20 PM #5MemberWebsite's:
csoffensive.com fagbag.me
-
25th Jan 2012, 04:22 PM #6MemberWebsite's:
sborg.usHumour is the new RL upload/download plugin developer, kindly redirect all your requests to his inbox
Nice work mate!
V3g3ta | Halcyon | Abhi
-
25th Jan 2012, 04:24 PM #7OPRetired NinJaWebsite's:
loledhard.com
-
25th Jan 2012, 05:59 PM #8Banned
hello...
i get this error
Fatal error: Call to undefined function curl_init() in /data/multiserv/users/776434/projects/1857001/www/hosts/upload/bayfiles.com_member.php on line 70
-
25th Jan 2012, 06:00 PM #9MemberWebsite's:
ihide.infoahh shit you mentioned my name.. now they are gonna hate me
KWWH has turned gay. I will not return until Phamous is demoted.
-
25th Jan 2012, 06:06 PM #10OPRetired NinJaWebsite's:
loledhard.com
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
PHP Upload function for sharedbit.net help
By t3od0r in forum Web Development AreaReplies: 2Last Post: 20th Oct 2012, 11:38 AM -
[Buying] php cURL upload function only
By hihotfile in forum Marketplace (Buy, Sell and Trade)Replies: 1Last Post: 23rd Sep 2012, 02:27 PM -
[PHP] Turbobit.net Upload Function
By Halcyon in forum Web Development AreaReplies: 9Last Post: 10th Feb 2012, 09:59 AM -
Freakshare upload function issue
By t3od0r in forum Web Development AreaReplies: 5Last Post: 30th Jan 2012, 11:26 AM -
[Buying] PHP Mediafire upload function
By somik in forum Completed TransactionsReplies: 0Last Post: 15th Apr 2011, 02:35 AM
themaRegister - register to forums...
Version 3.54 released. Open older version (or...