Displaying a favicon on your own site is very easy using Google and the following PHP snippet.

function get_favicon($url){
    $url = str_replace("http://",'',$url);
    return "http://www.google.com/s2/favicons?domain=".$url;
}
 

Leave a Comment

You must be logged in to post a Review.