SHARE
TWEET

Untitled




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>';
RAW Paste Data