Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- header("Content-Type:text/plain");
- //set_time_limit (0);
- $dir = dirname(__FILE__);
- $data = file_get_contents("$dir/full_html.htm");
- // regex find url
- preg_match_all('@https://fbcdn-sphotos-[a-z]+-a.akamaihd.net/hphotos-ak-[a-z0-9]+/t1.0-9/p417x417/[0-9]+_[0-9]+_[0-9]+_[a-z]+.jpg@si',$data,$url);
- $url = $url['0'];
- print_r ($url);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment