![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Mar 2006
Location: Puget Sound, WA
Posts: 9,070
|
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jul 2003
Location: chicago
Posts: 1,135
|
yes
1324 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Industry Role:
Join Date: Mar 2006
Location: Puget Sound, WA
Posts: 9,070
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Industry Role:
Join Date: Feb 2005
Posts: 1,699
|
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. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Mar 2006
Location: Puget Sound, WA
Posts: 9,070
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
MOBILE PORN: IMOBILEPORN
Join Date: Jan 2004
Location: Tinseltown NL
Posts: 16,502
|
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] . "\">"; ?> |
![]() |
![]() ![]() ![]() ![]() ![]() |