I coded a random image script to load images randomly each time the page was requested. My client has a coupon website that needs to have coupon images changed on a regular basis. Each time the page loads, the coupons needed to be loaded in a random order to not give “above the fold” preference to any coupon. To keep this as simple as possible for the client, I wrote a script that would randomly display all coupon images in a specific directory on the server. The client just has to FTP files to the web server and delete old coupons for the website to be updated.
projects, maintenance and bug fixes in PHP websites