a guest Jul 17th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- include 'simple_html_dom.php';
- $html = file_get_contents('https://sinoptik.ua/');
- $html =str_get_html($html);
- foreach($html->find('a') as $element) //Находим все линки
- echo $element->href . '<br>';
RAW Paste Data