Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- 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>';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement