Status
Not open for further replies.

sandip1110

Active Member
327
2011
39
35
I ve tried to decode lnx.lu in php,

using below code, any way to fix coz its not working.

Code:
function decodeLinkbucks($link)
{
    $page = file_get_contents($link);
    preg_match("#Lbjs.TargetUrl = 'http:\/\/tny.cz\/(.*?)';#", $page, $match);
    return $match[1];
}

Code:
    preg_match('#(http:\/\/lnx.lu\/\w+\)#', $item['desc'], $match);    
    $origDescription = $match[1];    
    $origDescription = decodeLinkbucks($origDescription);
 
Status
Not open for further replies.
Back
Top