![]() |
![]() |
![]() |
||||
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 |
I'm Lenny2 Bitch
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
|
I need a gallery rotator
I need a little php or cgi type script that will pull random galleries from a text file for a TGP.
TM3 has a built in rotator, but it's IP based and always pulls the first gallery from the file. My guess is most people don't have static IP's so whenever they come back and click the link they get that first gallery again. I need something that will pull url's totally at random to decrease the chances that the same surfer gets hit with the same gallery day after day. Anybody have one, or know where I can get one out of the box, or is someone willing to write one for a reasonable $$ amount?
__________________
sig too big |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jul 2001
Location: az
Posts: 8,464
|
try dillards,
i know they have tie racks that rotate. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Dec 2002
Location: New Jersey
Posts: 5,248
|
I wrote one I'll post it a bit later when I'm sober.
__________________
icq 279990726 www.mcdonalds.com <- great money making opportunity |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
Join Date: May 2002
Location: QC
Posts: 5,829
|
icq me right now
7508777 i have what you need. it's php and txt. we can work something out Matt |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
|
copy this to a txt file and rename gallery.php
PHP Code:
now point your link to http://www.url.com/gallery.php have a nice fucking day ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
I'm Lenny2 Bitch
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
|
Quote:
![]() I'm guessing I can use this over and over again like somurl/teen.php, someurl/tits.php etc etc as long as I change the name of the text file?
__________________
sig too big |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Mar 2003
Location: South-East of the Border of Disorder
Posts: 5,093
|
Quote:
------------------------- <?php $url[0]='http://www.somesite.com/urla.html'; $url[1]='http://www.somesite.com/urlb.html'; srand((double)microtime()*1234567); $turl=$url[intval(rand(0,1))]; header("location: $turl"); ?> ------------------------ or ------------------------ <?php $url[0]='http://www.somesite.com/urla.html'; $url[1]='http://www.somesite.com/urlb.html'; $url[2]='http://www.somesite.com/urlc.html'; srand((double)microtime()*1234567); $turl=$url[intval(rand(0,2))]; header("location: $turl"); ?> ------------------------- Notice the variable difference (0,2) or (0,3).. you can use as many variables as you like. Now just name it /somepage.php and use that for your link ![]() AST
__________________
![]() ALL Domains and Websites are GOING AWAY NOW! Ask me! Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here } .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 | |
Confirmed User
Join Date: Mar 2003
Location: South-East of the Border of Disorder
Posts: 5,093
|
Quote:
Sorry ! AST
__________________
![]() ALL Domains and Websites are GOING AWAY NOW! Ask me! Many great domains, mainstream and adult, some complete sites with databases, some names with traffic and PR, some investment quality names. Come take a look! { Traffic Orders: Please go here } .:: SHARPEN the Elite - BURN the leftovers! Ooh-Rah!! ::. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |