This PHP function retrieves the favicon cached by Google. It allows to get back very easily a favicon of a site to display on your Web page.
<a href="http://www.php.net/manual/en/index.php"><img src="<?php echo get_favicon('http://www.php.net/manual/en/index.php') ?>" alt="Favicon" title="See the PHP documentation" width="16" height="16" /></a>