Posted by d43m0n AT shaw DOT ca on 09/21/06 15:24
J.O. Aho wrote:
> 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
What the heck are you two talking about, the only way you can tell the
browser which favicon to use is in the meta data within HTML. The only
thing that php could possible do is apon favicon.php is return base64
data of an image through the use HTTP header functions. Often browsers
use the defualt favicon.ico in the root of the web directory.
~ Daemon
---------------
/* No Comment */
[Back to original message]
|