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);
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
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
please update this. not working
ReplyDeletei live in usa and i clearly see adf.ly changed their coding last week and this won't work no matter if u put https or else. can u fix it?
ReplyDelete