note 109732 deleted from function.get-meta-tags by aharvey
| From: | aharvey@php.net | Date: | Fri, 31 Aug 2012 07:10:26 +0000 |
| Subject: | note 109732 deleted from function.get-meta-tags by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-190299@lists.php.net to get a copy of this message | ||
Note Submitter: leaksin at gmail dot com
----
If your browser dose not show persian or arabic phrases you can add this line of code
<?php
header('Content-Type:text/html; charset=utf-8');
$tags = get_meta_tags('http://www.narenji.ir');
var_dump($tags);
?>
Output is
array
'keywords' => string 'اخبار, تکÙÙÙÙÚÛ,
ÙØ§Ø±ÙجÛ, گجت, ÙÙØ§ÙرÛ, Ù
ÙØ¨Ø§ÛÙ,
خبر, ØªØ¨ÙØª, ÙÙ¾ تاپ, کاÙ
Ù¾ÛÙØªØ±,
ربات, Ù
اÙÛØªÙر, س٠بعدÛ,
تÙÙÛØ²ÛÙÙ' (length=186)
'description' => string 'Ù
کاÙÛ Ø¨Ø±Ø§Û
Ø¢Ø´ÙØ§ÛÛ Ø¨Ø§ Ø§Ø¨Ø²Ø§Ø±ÙØ§ ٠اخبار
داغ دÙÛØ§Û ÙÙØ§ÙرÛ' (length=97)