> How do finding metatag using PHP ~ Online tutorial

How do finding metatag using PHP

How do finding metatag using PHP:
This tutorial i will show  how do find the metatag of website using PHP. They function called get_meta_tags Which is used to get information of meta tag in the website.


Coding


<?php $tags = get_meta_tags("http://www.w3schools.com"); ?>


<h2>Author</h2>

<?php echo $tags['author']; ?> <br/>      // name 

<h2>Keywords</h2>

<?php echo $tags['keywords']; ?>   </br>  // php documentation

<h2>Description </h2>

<?php echo $tags['description']; ?> </br> // a php manual




Program Explain:


In this Program you finding the meta tag in the website.here  get_meta_tags which used get metatag information you can specific any site here.s

Output:

Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: