Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Mar 5, 2018 8:24 AM
Views: 13
  1. $src_url = "";        
  2. $html = file_get_html($src_url);
  3. if($html){
  4.  
  5.  
  6.     $html->clear;
  7. } else {
  8.      echo $html;
  9.      die('Could not load source');
  10. }
  11. unset($html);