Skip to content
WJunction - Webmaster Forum

How to decode lnx.lu in php ?

Status
Not open for further replies.

sandip1110

Established Member
327
2011
39
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.

About the author

S
Established Member · Joined
327
Messages
39
Reactions
28
Points
Grow your business

Advertise on WJunction

Connect with an established international community of webmasters, hosting providers, developers and online entrepreneurs.

  • Premium & Premium+ Sticky
  • Dedicated section banners
  • Site-wide banner advertising
Explore advertising options
Back
Top Bottom