输入banner图图片脚本导航/分类

PHPGoogle获取域名的favicon图标的代码

  1. /**
  2. * 获取favicon图标
  3. * 前提是google不被重置连接,这个**
  4. */
  5. function get_favicon($url){
  6. $url = str_replace("http://",'',$url);
  7. return "http://www.google.com/s2/favicons?domain=".$url;
  8. }
  9. ?>