Get Favicon's Using PHP / Google API


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. function get_favicon($url){
  2. $url = str_replace("http://",'',$url);
  3. return "http://www.google.com/s2/favicons?domain=".$url;
  4. }

Report this snippet


Comments


You need to login to view comments.