| | |
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 |
.htaccess ajax apache api array beginner binary broken buttons cakephp checkbox class cms code cron curl database date directory display download dynamic ebooks echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link login loop mail mediawiki menu mlm mod_rewrite multiple mysql number oop paypal pdf php phpincludeissue phpmyadmin problem query radio random recursion regex remote script search server sessions sms soap source sp space speed sql subdomain syntax system table tag tutorial update upload url validation validator variable vbulletin video web websphere white xml youtube





