Activity Stream
48,167 MEMBERS
6813 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1.     
    #1
    Retired NinJa
    Website's:
    loledhard.com

    Cool 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

    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($chCURLOPT_RETURNTRANSFER1); 
        
    curl_setopt($chCURLOPT_HEADER0); 
        
    //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); 
        
    curl_setopt($chCURLOPT_USERAGENT'Opera/9.80 (Windows NT 5.1; U; en) Presto/2.7.62 Version/11.01'); 
        if(
    $postfields
        { 
            
    curl_setopt($chCURLOPT_POST1); 
            
    curl_setopt($chCURLOPT_POSTFIELDS$postfields); 
        } 
        
    curl_setopt($chCURLOPT_CONNECTTIMEOUT60);
        
    curl_setopt($chCURLOPT_TIMEOUT1200);
        
    $page curl_exec($ch);
        
    curl_close($ch); 
        return(
    $page); 

    RL PLUGIN
    Code: 
    http://bayfiles.com/file/1tXr/AuQnIB/bayfiles-rl-plugin.rar
    Cheers
    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!

  2.   Sponsored Links

  3.     
    #2
    Banned
    Website's:
    HotWallpapers.me AustraliaFlood.net VirtualUpload.net

  4.     
    #3
    Banned
    Website's:
    cloudcache.cc

  5.     
    #4
    Retired NinJa
    Website's:
    loledhard.com
    Quote Originally Posted by ThumperTM View Post
    its up



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

  6.     
    #5
    Member
    Website's:
    csoffensive.com fagbag.me
    nice one

  7.     
    #6
    Member
    Website's:
    sborg.us
    Humour is the new RL upload/download plugin developer, kindly redirect all your requests to his inbox

    Nice work mate!

    V3g3ta | Halcyon | Abhi

  8.     
    #7
    Retired NinJa
    Website's:
    loledhard.com
    Quote Originally Posted by Halcyon View Post
    Humour is the new RL upload/download plugin developer, kindly redirect all your requests to his inbox

    Nice work mate!
    FU ?



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

  9.     
    #8
    Banned
    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

  10.     
    #9
    Member
    Website's:
    ihide.info
    ahh shit you mentioned my name.. now they are gonna hate me
    KWWH has turned gay. I will not return until Phamous is demoted.

  11.     
    #10
    Retired NinJa
    Website's:
    loledhard.com
    Quote Originally Posted by sequelae View Post
    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
    enable curl in ur php.ini

    Quote Originally Posted by ShareShiz View Post
    ahh shit you mentioned my name.. now they are gonna hate me
    ye we hate u already & now let others including bayfile hate u



    You don't hate Justin bieber.You hate the fact you ain't Justin Bieber!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PHP Upload function for sharedbit.net help
    By t3od0r in forum Web Development Area
    Replies: 2
    Last Post: 20th Oct 2012, 11:38 AM
  2. [Buying] php cURL upload function only
    By hihotfile in forum Marketplace (Buy, Sell and Trade)
    Replies: 1
    Last Post: 23rd Sep 2012, 02:27 PM
  3. [PHP] Turbobit.net Upload Function
    By Halcyon in forum Web Development Area
    Replies: 9
    Last Post: 10th Feb 2012, 09:59 AM
  4. Freakshare upload function issue
    By t3od0r in forum Web Development Area
    Replies: 5
    Last Post: 30th Jan 2012, 11:26 AM
  5. [Buying] PHP Mediafire upload function
    By somik in forum Completed Transactions
    Replies: 0
    Last Post: 15th Apr 2011, 02:35 AM

Tags for this Thread

BE SOCIAL