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

Results 1 to 3 of 3
  1.     
    #1
    Member

    Default How to Generate Linkbucks link using curl?

    Can anyone teach/share how to create linkbucks links using curl? It can be bash or php script.

    Because linkbuks don't have the API so very difficult to me to create it unless using curl.

    Thanks
    dewaforex Reviewed by dewaforex on . How to Generate Linkbucks link using curl? Can anyone teach/share how to create linkbucks links using curl? It can be bash or php script. Because linkbuks don't have the API so very difficult to me to create it unless using curl. Thanks Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    PHP Code: 
    <?php
    //linkbucks converter by m1rr0z

    function curl($url,$cookies,$post){
        
    $ch = @curl_init();
        
    curl_setopt($chCURLOPT_URL$url);
        
    curl_setopt($chCURLOPT_HEADER1);
        if (
    $cookiescurl_setopt($chCURLOPT_COOKIE$cookies);
        
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
        if (
    $post){
            
    curl_setopt($chCURLOPT_POST1);
            
    curl_setopt($chCURLOPT_POSTFIELDS$post);
        }
        
    curl_setopt($chCURLOPT_TIMEOUT25);
        
    curl_setopt ($chCURLOPT_CONNECTTIMEOUT25);
        
    $page curl_exec$ch);
        
    curl_close($ch);
        return 
    $page;
    }

    ######### linkbucks unlock
    function linkbucks($lien)
    {
    if (
    preg_match('#(linkbucks)#'$lien$lien0))
     {
    $lienpre curl($lien,'','');
    if (
    preg_match("#Lbjs.TargetUrl = '(.*)';#"$lienpre$url))
       {
       
    $linkgo $url[1];
       }
     }
    return  
    $linkgo;
    }
    #########

    $linkbucks_link ''//your linkbucks link here
    $converted_link linkbucks($linkbucks_link);
    echo 
    $converted_link;

    ?>

  4.     
    #3
    Member
    Thank you for fast response
    But your script is for unlock the linkbucks links
    I need the opposite.

    I need to create some of mediafire and jumbofiles links to be linkbucks link.
    Only adf.ly that have API but my visitor is from Asia so adf.ly is not my choice as 90% will not show the ads.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to generate link on Leechdaddy ???
    By suparlykolo in forum Webmaster Discussion
    Replies: 3
    Last Post: 23rd Sep 2012, 03:01 AM
  2. Parse my own link from Rapidshare with php + curl
    By ebogus in forum Web Development Area
    Replies: 15
    Last Post: 12th Jun 2012, 07:54 PM
  3. How can we generate direct download link?
    By anaksr in forum File Host Discussion
    Replies: 3
    Last Post: 22nd Nov 2011, 05:05 AM
  4. Linkbucks-Adf.ly link Auto Replace
    By Nusselt1 in forum Webmaster Discussion
    Replies: 1
    Last Post: 5th Sep 2011, 07:32 AM
  5. how to generate site link list
    By Anthonis in forum Webmaster Discussion
    Replies: 3
    Last Post: 3rd Mar 2011, 08:53 PM

Tags for this Thread

BE SOCIAL