I want to get a DIV from an external website with pure PHP.
External website: http://www.isitdownrightnow.com/youtube.com.html
Div text I want from isitdownr
$contents = file_get_contents($url); $title = explode('',$contents); $title = explode("",$title[1]); $fp = fopen ("s.php", "w+"); fwrite ($fp, "$title[0]"); fclose ($fp); require_once('s.php');