GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Need Java or PHP script script to display random images with hidden list.. (https://gfy.com/showthread.php?t=610839)

ANAL PASTE 05-17-2006 11:13 AM

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?

pstation 05-17-2006 11:15 AM

yes

1324

ANAL PASTE 05-17-2006 11:17 AM

Quote:

Originally Posted by pstation
yes

1324

you must be comedian :321GFY

Fetish Gimp 05-17-2006 11:19 AM

Quote:

Originally Posted by ANAL PASTE
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?

http://php.resourceindex.com/Complet...Random_Images/

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.

ANAL PASTE 05-17-2006 11:24 AM

Quote:

Originally Posted by Fetish Gimp
http://php.resourceindex.com/Complet...Random_Images/

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.

thank you very much :thumbsup

Bro Media - BANNED FOR LIFE 05-17-2006 11:31 AM

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