How to show a icon on the titlebar & adressbar?

Discussion in 'PHP' started by ranacseruet, May 11, 2009.

  1. #1
    Hi,
    I am in a simple problem. You all have seen some good looking icon on titlebar, adressbar(firefox), here digitalpoint also use its logo icon there. But I want to know, how to use it. Please help me. Thanks
     
    ranacseruet, May 11, 2009 IP
  2. ranacseruet

    ranacseruet Peon

    Messages:
    302
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i got it myself. just need to put a file named favicon.ico on the root directory. that's all.
     
    ranacseruet, May 11, 2009 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    Actually, that's not necessarily all. To be sure you are actually getting the favicon to show up in every type of browser, you should add the following to you headers:
    <link rel='shortcut icon' href='favicon.ico' />
     
    PoPSiCLe, May 13, 2009 IP
  4. fourfingers

    fourfingers Peon

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    fourfingers, May 13, 2009 IP