You are here: Re: Favicon « All PHP « IT news, forums, messages
Re: Favicon

Posted by J.O. Aho on 09/21/06 14:01

The Eclectic Electric wrote:
> Is it possible to interrogate the HTTP accept header for specific items?
> What I'm looking to do is to see whether the browser will accept gifs for
> the favicon as per standard and serve either an animated gif or a normal ico
> as appropriate.

You can use $_SERVER['HTTP_USER_AGENT'] to see what web browser the user is
using, and from that compare to a list that you have to see which type of icon
is supported and deliver the type of favicon to them.



//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация