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.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-24-2003, 06:36 PM   #1
Snake Doctor
I'm Lenny2 Bitch
 
Snake Doctor's Avatar
 
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
Snake Doctor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 06:37 PM   #2
lagwagon
Confirmed User
 
lagwagon's Avatar
 
Join Date: Jul 2001
Location: az
Posts: 8,464
try dillards,

i know they have tie racks that rotate.
__________________

FTVGirls - FTVMilfs - DanielleFTV
lagwagon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 06:44 PM   #3
cluck
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
cluck is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 06:50 PM   #4
Paraskass
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
__________________
Paraskass is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 07:50 PM   #5
hyper
Confirmed User
 
Join Date: Mar 2002
Location: Mass Ass
Posts: 5,294
copy this to a txt file and rename gallery.php

PHP Code:
<?php
$fileName 
"./gallerylist.txt";
mt_srand( (double) microtime() * 1000000 );
$a file($fileName);
$randNum mt_rand0sizeof($a)-);
header"Location: "$a[$randNum] );
?>
now make a gallerylist.txt file and put 1 gallery url per line
now point your link to http://www.url.com/gallery.php

have a nice fucking day
__________________
hyper is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 08:27 PM   #6
Snake Doctor
I'm Lenny2 Bitch
 
Snake Doctor's Avatar
 
Join Date: Mar 2001
Location: On top of my soapbox
Posts: 13,449
Quote:
Originally posted by hyper
copy this to a txt file and rename gallery.php

PHP Code:
<?php
$fileName 
"./gallerylist.txt";
mt_srand( (double) microtime() * 1000000 );
$a file($fileName);
$randNum mt_rand0sizeof($a)-);
header"Location: "$a[$randNum] );
?>
now make a gallerylist.txt file and put 1 gallery url per line
now point your link to http://www.url.com/gallery.php

have a nice fucking day
Hey thanks chief.

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
Snake Doctor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 08:59 PM   #7
Adult Site Traffic
Confirmed User
 
Join Date: Mar 2003
Location: South-East of the Border of Disorder
Posts: 5,093
Quote:
Originally posted by Lenny2
I need a little php or cgi type script that will pull random galleries from a text file for a TGP.
This won't pull them from a text file, but will work great for a random page.. I dunno if it'll help.
-------------------------
<?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!! ::.
Adult Site Traffic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-24-2003, 09:00 PM   #8
Adult Site Traffic
Confirmed User
 
Join Date: Mar 2003
Location: South-East of the Border of Disorder
Posts: 5,093
Quote:
Originally posted by Adult Site Traffic


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
I MEANT... (0,1) or (0,2)..

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!! ::.
Adult Site Traffic is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.