Gmail has just launched small but really useful feature in Gmail Labs. Dynamic Favicon showing unread email counts directly in your browser tab icon. If your browser window has lots and lots of tabs open at anytime, this might be really a wonderful feature that lets user know of any unread item. Here is a small and powerful script in PHP that lets you create your own Dynamic favicon. We will use PHP GD library to manipulate the favicon image and add text into it. Below is the simple script that reads a favicon image add add some text character on it.
[php][file]http://w3lessons.info/wp-content/uploads/2011/12/dynamic_favicon1.txt[/file][/php]
The above code is pretty much self explanatory. We read a character from GET request and add it into the favicon image. Note here that we are using a template favicon image which me modify. You can place any favicon of your choice near favicon.php file.
Thanks for this interesting posts,
I’ll use it in my personal project!!
thanks again,
Thanks for this interesting posts,
I’ll use it in my personal project!!
thanks again,