Rotating the favorite icon

Share

After reading mfaris01’s article on “Creating a Favicon for Your Own Apache Server on SLES 10” I decided to write a small script that randomly rotates the favicon.ico file.

The following directives will need to be modified

WWW_ROOT – Set this directive to your HTTP document root.

FAVICON_DIR – Set this directive to the directory where you have stored all your icons

FAVICON_CONFIG – Set this directive if you want to configure an advanced selection.

If you choose the advanced selection then create the file that will store the previous icon name, otherwise the script will just pick at random even if the image has already been used previously.

This script is very good in a cron job.

(Visited 1 times, 1 visits today)

Comments

  • mfaris01 says:

    I never thought to rotate them.. Very Clever!

    Mike..

  • Leave a Reply

    Your email address will not be published. Required fields are marked *

    1,066 views