Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 2541
Total Votes: 36 votes
Average Rating: 2.5 out of 5
Description:PHP has a built-in function to easily fetch meta tags from php or html pages called the get_meta_tags function. It will take all the meta tags and build associative arrays with the name of the associative array being the meta name and value of the associative array being the contents of the meta tag. This tutorial shows how to fetch all the meta tags for a given page and print them to the browser. Then, it can be used to build a search engine that compares the contents of the meta variable to the search_criteria and displays the matching link.