[Edit] Get the Title of a URL
Get the title element from a URL function getTitle($url) { $fh = fopen($url, "r"); $str = fread($fh, 7500); fclose($fh); $str2 = strtolower($str); $start = strpos($str2, "<title>")+7; $len = strpos($str2, "</title>") - $start; return substr($str, $start, $len); } |
This Page is Under Construction! - If You Want To Help Please Send your CV - Advanced Web Core (BETA)
© Advanced Web Core. All rights reserved