Page 1 of 1

How to add favicon icon

Posted: Fri Dec 25, 2009 7:55 pm
by consigliere
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

GBook - PHP Guestbook

how I can add a favicon icon in all pages in guestbook? have I to put this code:

Code: Select all

 
 <link rel="shortcut icon" type="image/x-icon" href="favicon.ico"> 

or this:

Code: Select all

 if (file_exists("themes/$ThemeSel/images/favicon.ico")) {
      echo "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
   } 
or even something else?

If both codes are wrong which to use and in which .*php file?
Thank's for your support