![]() |
CGI script for random gallery?
Hello Guys,
I need a CGI script that opens a random URL from a txt file. example: amateur.cgi => random URL from amateur.txt => gallery URL opens anyone has some stuff like this? thanks my fellow country men! :glugglug |
I'll give you PHP...
|
Winston Churchill is a porn peddlar ??? :eek7
|
i'd prefer CGI, anyone CGI? if not, PHP is fine, too =)
|
Here is the PHP.
Code:
<?php |
For fucks sake.
Code:
< ?php Just delete the spaces before or after each question mark. |
thanks man!
if nobody comes up with an CGI i will use this one =) |
#!/usr/bin/perl
#This is a text file containing all your trade partners ################################################## ############################ $trade = "database.txt"; # Done ################################################## ############################ open (LINKS, "$trade"); srand(); $nlines=@file=<LINKS>; print "Location: $file[int rand $nlines]\n\n"; close (LINKS); exit; be sure to grab my free hosted sponser galleries http://www.playascash.com/hosted.htm :) |
All times are GMT -7. The time now is 08:35 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123