Thursday, February 7, 2013

Get Meta Tag Description using php script

Get Meta Tag description of any website using php script.There is one function in php for get meta description.Its contain two details 1) keywords 2) description.
Use this get_meta_tags("URL",true) php function.

Example : 
$x=get_meta_tags("http://phpforms.net/",true);
print_r($x);


Output :
Array ( [keywords] => php forms,html forms,web form builder,email form. [description] => Create any kind of web form in several mouse clicks! Generate a code that can be easily copied and pasted to 
any web page )

1 comment:

  1. I was searching for this script long back. Glad I got it. I was planning to implement this concept in one of my softwares

    ReplyDelete

Thanks....