Checkout the below code:
<?php
$url = “http://www.makeeit.com/”;
$fp = fopen( $url,”r”);
$content = “”;
$plain_url = addslashes($_GET['thumbrequest']);
while(!feof($fp))
{
$buffer = trim( fgets( $fp, 4096 ) );
$content .= $buffer;
}
$start = “<title>”;
$end = “<\/title>”;
preg_match( “/$start(.*)$end/s”, $content, $match );
$jo = $match[ 1 ];
//print_r($match[2]);
$metatagarray = get_meta_tags( $url );
//print_r($metatagarray);
$keywords = $metatagarray[ "keywords" ];
$description = $metatagarray[ "description" ];
echo “<div><strong>URL:</strong> $url</div>\n”;
echo “<div><strong>Title:</strong> $jo</div>\n”;
echo “<div><strong>Description:</strong> $description</div>\n”;
echo “<div><strong>Keywords:</strong> $keywords</div>\n”;
?>
Even in a simpler Array format you can able to get down all the things
<pre><?php
$URL = ‘http://www.makeeit.com/’;
// Try to fetch the meta tags for $URL
$meta_tags = @ get_meta_tags($URL)
or die(”Could not fetch meta tags for $URL”);
// Show the contents of $meta_tags
print_r($meta_tags);
?></pre>