![]() |
Need Java or PHP script script to display random images with hidden list..
Is there way to display random picture from txt list or simple java script that hides the list
so lets say I have image.txt with img1.jpg img2.jpg and so on.... is it possible? |
yes
1324 |
Quote:
|
Quote:
Although naming the images img1.jpg img2.jpg kinda defeats the purpose as it'd be pretty easy to surf all the images once you know the naming convention. |
Quote:
|
make the list part of the php... example
<?php $img[1] = "images/blah.jpg"; $img[2] = "images/blah2.jpg"; $r = rand(1, count($img)); echo "<img src=\"" . $img[$r] . "\">"; ?> |
All times are GMT -7. The time now is 11:30 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123