PHP Tips & Help
How to Create Random Header Images in PHP
Posted in: PHP Tips & Help on: Wed Oct 19 2005 by paulM
OK, so like, I was stuck there wanting to make my new website look even cooler, so I thought, …wouldn’t it be neat if I could have random background images in my header. That way, whenever someone revisits or refreshes or visits and new page - VIOLA! - a new header image. Cool, eh? But then I thought - “I’ll have to use PHP to generate a random number or numbers, and thus generate random images…
Here’s how I did it:
BOOKMARK
PRINT
EMAIL

