Display meta tags
This uses the get_meta_tags function to display the meta tags of a given page , if any exist that is . Here is the script .
<?php
$searchmeta = get_meta_tags("index.htm");
echo ($searchmeta["description"]);
echo ("<br>");
echo ($searchmeta["keywords"]);
?>
And here are the meta tags of my index page
BeginnersPHP is a PHP and MySQL site with a variety of resources such as scripts, soure code and tutorials
php, mysql, tutorials, source code, snippets, scripts, examples, beginners php, php articles, mysql articles, downloads, links, books
Of course we are not limited to just our meta tags , lets have a look at our sister site at http://asp.myscripting.com using the following code
<?php
$searchmeta1 = get_meta_tags("http://asp.myscripting.com/index.asp");
echo ($searchmeta1["description"]);
echo ("<br>");
echo ($searchmeta1["keywords"]);
?>
An ASP site with tutorials , sample book chapters , sample code , components , links and more
ASP , sample , code , tutorials , components , downloads , VBScript , JScript , JavaScript , book , store , sample chapters , links , hosts , free , paid