| | |
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 |
ajax apache api array basics beginner binary bounce broken cakephp checkbox class cms code codingproblem combobox cron curl database date display dynamic echo email error file files folder form format forms function functions google href htaccess html image include insert interactive ip javascript joomla js limit link login mail malfunctioning menu mlm mobile multiple mysql nodes oop outofmemmory paging parse paypal pdf php problem procedure query radio ram random recursion reference regex remote return script search server sessions sms soap source space sql syntax system table tutorial up-to-date update upload url validation validator variable video web webapplications websitecontactform xml youtube





