| | |
Site Icon
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2005
Posts: 32
Reputation:
Solved Threads: 0
This is a simple thing but I havn't found it by searching so I will just ask.
I am not sure if this is a php code but since my CMS (e107) is written in it I felt I should ask here.
So the little icon you get in the Firefox tab or when bookmark a page in IE, how do you do that? I know how to make a little icon but what is the code?
I see Daniweb has one.
I am not sure if this is a php code but since my CMS (e107) is written in it I felt I should ask here.
So the little icon you get in the Firefox tab or when bookmark a page in IE, how do you do that? I know how to make a little icon but what is the code?
I see Daniweb has one.
Hello.
place an icon in your web directory called
and stick this line in the <head> of your HTML
check this page out for more
SE (Dave)
place an icon in your web directory called
PHP Syntax (Toggle Plain Text)
favicon.ico
and stick this line in the <head> of your HTML
PHP Syntax (Toggle Plain Text)
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
check this page out for more
SE (Dave)
insert something here
Or we can just be simple with PHP and make it like the cool way like this:
[PHP]
if (file_exists("THE LOCATION OF IT/favicon.ico")) {
echo "<link REL=\"shortcut icon\" HREF=\"THE LOCATION OF IT/favicon.ico\" TYPE=\"image/x-icon\">\n";
}
[/PHP] :rolleyes:
Thats for Danielle, j/k!!:o
[PHP]
if (file_exists("THE LOCATION OF IT/favicon.ico")) {
echo "<link REL=\"shortcut icon\" HREF=\"THE LOCATION OF IT/favicon.ico\" TYPE=\"image/x-icon\">\n";
}
[/PHP] :rolleyes:
Thats for Danielle, j/k!!:o
dynastyCODERS#1 when it comes to Programming Tutorials, Database designs and discussions, Operating Systems, you name it, check us out and drop us a line to tell us your opinions on any and everything in mind!;)
![]() |
Similar Threads
- Please review, I have worked hard. (Website Reviews)
- having problems deleting a specific popup that kicks me off the internet (Viruses, Spyware and other Nasties)
- Error creating new ASP.Net project (ASP.NET)
Other Threads in the PHP Forum
- Previous Thread: Dynamic precaching...
- Next Thread: 301 Redirect
| Thread Tools | Search this Thread |
301 apache api array autosuggest beginner beneath binary broadband broken button cakephp checkbox class cms code compression countingeverycharactersfromastring crack cron curl database date decode display dynamic echo email error file files folder form forms function functions google href htaccess html httppost image include insert integration ip javascript joomla limit link links login mail match md5 menu mlm multiple mysql mysql_real_escape_string oop paypal pdf php problem protocol query radio random recursion remote script search searchbox server session sessions sms smtp source space sql strip_tags survey syntax system table tutorial undefined update upload url validator variable video virus votedown web window.onbeforeunload=closeme; youtube





