comprar viagra online
comprar viagra generico barato
comprar cialis generico online
comprar cialis online seguro
|PHP Random Image Rotation|
Want some randomness on your website? Try out this PHP image rotator. This script will display a random image every time the user re-loads the page or starts navigating. A very nice effect that can help you make your website a little bit more interactive.
This script can be perfectly used for a banner of header on your website. You can also use this in your signature or avatar on a forum. Additionally, you can rotate HTML and CSS files. Just make sure this script is placed on a PHP server, otherwise it will not work.
Installing on your site
To install the script, simply download it and place it in any folder of your server. In the default configuration, all images from the folder where the script is located are used.
Now direct the source to the PHP file and you're done.
<img src="images/header/rotate.php" alt="Header" width="400" height="100" />
That's it. Now any random image file located in the same directory as the script will be displayed.
Change this variable in the script to locate the directory where your images are placed. When the default is selected, the script wil randomly use any image file that is located in the same directory as the script.
In this variable you can set which image types are used. For example, remove all the default
Enjoy and good luck using this script. Where are you going to use it for?
Tags: php webdesign image rotate script
Interested in this topic? You might enjoy another article I've written called
|< Prev||Next >|
|Or try the sitemap|