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)
-   -   My lost little script (https://gfy.com/showthread.php?t=701228)

grudgeman 01-30-2007 05:40 PM

My lost little script
 
lets say if i put the word asslicker on my site with one link code when someone clicks on it it would radom pull from a list of gallerys you could click same link 5000 times and allways go some where else i had a little script that did that but cant find it help

fris 01-30-2007 05:43 PM

Quote:

Originally Posted by grudgeman (Post 11821909)
lets say if i put the word asslicker on my site with one link code when someone clicks on it it would radom pull from a list of gallerys you could click same link 5000 times and allways go some where else i had a little script that did that but cant find it help

$file = "anal.txt";
$fp = file($file);
srand((double)microtime()*1000000);
$urls = $fp[array_rand($fp)];
header("Location: $urls");

add galleries one per line in anal.txt

Lycanthrope 01-30-2007 05:49 PM

Sounds like it was ATO's Gallery Admin. Great script.

Site is gone and Tue is MIA :(

grudgeman 01-30-2007 05:58 PM

How would i set that up in my server

MicDoohan 01-30-2007 06:01 PM

put the code he has provided in a file called random.php and then link to that

put your gallery links in the file anal.txt or rename to suit your needs

grudgeman 01-30-2007 06:05 PM

kool i was thinking thats what it was been long time thanks

billybathgate 01-30-2007 06:09 PM

Quote:

Originally Posted by Fris (Post 11821926)
$file = "anal.txt";
$fp = file($file);
srand((double)microtime()*1000000);
$urls = $fp[array_rand($fp)];
header("Location: $urls");

add galleries one per line in anal.txt

copy paste save as

thanks fris :thumbsup

grudgeman 01-30-2007 06:24 PM

does it need to be in my cgi-bin

woj 01-30-2007 06:26 PM

Quote:

Originally Posted by grudgeman (Post 11822140)
does it need to be in my cgi-bin

no........

grudgeman 01-30-2007 06:31 PM

i took the script and put in a text uploaded it and renamed it to random.php
put some gallerys in anal.txt still not working dam dam dam

fris 01-31-2007 06:41 AM

need to add

<?

code

?>


All times are GMT -7. The time now is 08:28 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123