this works, it echoes "worked".
<?php
$url = "http://www.realgm.com";
$tags = (get_meta_tags($url)) ? get_meta_tags($url) : false;
if($tags){
echo "worked";
}else{
echo "failed";
}
?>
i've deliberately done this so it doesn't work. It fails to open stream. How do i make the error message invisible?... it should just say "failed".
<?php
$url = "gssgdd";
$tags = (get_meta_tags($url)) ? get_meta_tags($url) : false;
if($tags){
echo "worked";
}else{
echo "failed";
}
?>