SHARE
TWEET

Untitled

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