Random Image
PHP July 10th, 2008
Syalalala~
Hmm… PHP again^^ today i tried to make random image with PHP. I used it on my sidebar to show my photos but in this tutorial I use localhost with apache server (XAMPP). First go to directory c:\xampp\htdocs and create new folder ‘random’. Then open ‘random’ and create new folder again to save your image. For example I create images folder (c:\xampp\htdocs\random\images). Put your images on it, don’t forget to rename your image to numerical number. For example: I have 9 image then I rename it to ‘1.jpg,2.jpg,3.jpg,4.jpg,…,9.jpg’. Finish?
| Tags: Images, PHP, Tutorial |


About



