/ Published in: PHP
This fonction use Google Favicon Service to get the favicon from an URL. Good to know it exists...
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function get_favicon($url){ //TODO : regex that removes the last part of the url and detects errors return "http://www.google.com/s2/favicons?domain=".$url; }