PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php function getTitle($url) { $data = file_get_contents($url); if (preg_match_all("/<br>(.*?)<span>Safe/ims", $data, $matches)) { print_r($matches); return $matches[1]; } else { return null; }; } echo getTitle("http://v832167.hosted-by-vdsina.ru/test.php");
Show:  
Copy Clear