How To Find Original Url of a Adfly Link Using PHP

The adfly links are stored in a java script variable zzz we can write a preg_match_all function to find the target url of a adflylink.



PHP Code :-

$adfly = ''; // target url
$html = file_get_contents($adfly);
preg_match_all("|zzz = '(.*)'|U",$html,$out);
echo $out[1][0];

Note : - For indian users adfly is blocked use https adfly llink.Your ip will be blocked by adfly if you send more than 25 requests to adf.ly