Code Help
Code Help
Out of context: Reply #1
- Started
- Last post
- 5 Responses
- pkmlta0
you can load the array from a db or search a directory for files but heres the basics:
$pics = array("pic1.jpg","pic2.jpg","pic...
$picNumber = rand(0, count($pics));
$picSize = getimagesize($pics[$picNumber]);
echo "\n";