If you have a backup server running a second copy of your site, and would like to share the load, this is the script for you!
Just add a web address to each line of the file "random.txt" and put this code on your index page.
(you will need to have a second index page on your primary server, one "index.htm" or whatever with this code in it, the other "index2.htm" or whatever with your normal index page.
There are probably better ways of load-sharing, but this is dead simple. let me know what you think! you can use this code free, but if you use it, e-mail me and give me a URL!info@dragondesigns.org.uk
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.