i have some error when i run the function metaengine "the code of this function at http://www.phpbuilder.com/tips/item.php?id=90"
the output is :
?Title:??Not Available??Keywords:??Not Available??Description:??Not Available??Keywords:??Not Available?
i expect , this produce bcze can't fetch file into an array ...but what is the solution
Change this line in the function:
if(!($file = @file( $url, "r" )))
to:
if(!($file = file($url)))
and use this for test code:
$metatag = metaengine($url); // e.g. $url = 'http://www.example.com'; echo '<pre>'; print_r($metatag); echo '</pre>';
Thanks so much 🙂 Installer ...the code is all right 😉