Results 1 to 3 of 3
-
19th May 2012, 02:17 AM #1OPMember
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.
Thanksdewaforex 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
-
19th May 2012, 03:49 AM #2MemberPHP Code:
<?php
//linkbucks converter by m1rr0z
function curl($url,$cookies,$post){
$ch = @curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 1);
if ($cookies) curl_setopt($ch, CURLOPT_COOKIE, $cookies);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
if ($post){
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
}
curl_setopt($ch, CURLOPT_TIMEOUT, 25);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 25);
$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;
?>
-
19th May 2012, 04:53 AM #3OPMember
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.
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to generate link on Leechdaddy ???
By suparlykolo in forum Webmaster DiscussionReplies: 3Last Post: 23rd Sep 2012, 03:01 AM -
Parse my own link from Rapidshare with php + curl
By ebogus in forum Web Development AreaReplies: 15Last Post: 12th Jun 2012, 07:54 PM -
How can we generate direct download link?
By anaksr in forum File Host DiscussionReplies: 3Last Post: 22nd Nov 2011, 05:05 AM -
Linkbucks-Adf.ly link Auto Replace
By Nusselt1 in forum Webmaster DiscussionReplies: 1Last Post: 5th Sep 2011, 07:32 AM -
how to generate site link list
By Anthonis in forum Webmaster DiscussionReplies: 3Last Post: 3rd Mar 2011, 08:53 PM
themaManager - edit and manage...
Version 4.04 released. Open older version (or...