Logo

“Sanity calms, but madness is more interesting.” - John Russell


Simple Random Picture


Using a simple PHP script you can have a random web picture on a page. The one on this site (at the top of this page) is a little more complicated than this one but this one is simple and works just fine.

Usage

Download the demo from here, extract it to your PHP5 (or probably PHP4) enabled website, add pictures with a .jpg extension to the ./Images folder, then go to the index.php site.

You can checkout the PHP demo page here. Keep refreshing the page and a new random picture will be displayed.



Photo Albums

All examples, instructions, tutorials, custom code, and documents created by Brian Hoover on this site are in acordance with the Createive Commons Attribution 3.0 license.

This means you are free to take, and modify any thing on this site, even for commercial use, as long as Brian Hoover is cited as the original creator, and that http://www.brian-hoover.com is the original source.

About Me

Everything on this site is taken as-is, and no support contract or warrantees are in place for obligated continued support. If you have questions about the content on the site feel free to contact the Webmaster.

Creative Commons License
This work by Brian Hoover is licensed under a Creative Commons Attribution 3.0 United States License.
Based on a work at www.brian-hoover.com.