Revision: 37885
                            
                                                            
                                    
                                        
Initial Code
                                    
                                    
                                                            
                                    
                                        
Initial URL
                                    
                                    
                                
                                                            
                                    
                                        
Initial Description
                                    
                                    
                                                            
                                    
                                        
Initial Title
                                    
                                    
                                                            
                                    
                                        
Initial Tags
                                    
                                    
                                
                                                            
                                    
                                        
Initial Language
                                    
                                    
                                                    
                        at December 19, 2010 05:27 by arnaudbrousseau
                            
                            Initial Code
function get_favicon($url){
  $url = str_replace("http://",'',$url);
  //TODO : regex that removes the last part of the url and detects errors
  return "http://www.google.com/s2/favicons?domain=".$url;
}
                                Initial URL
Initial Description
This fonction use Google Favicon Service to get the favicon from an URL. Good to know it exists...
Initial Title
Get favicon with Google
Initial Tags
Initial Language
PHP