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 02-27-2002, 05:43 PM   #1
Choker
Confirmed User
 
Choker's Avatar
 
Industry Role:
Join Date: Apr 2001
Location: Orlando
Posts: 9,024
Gallery Database Script

Does anyone know where I can find a script that I can dump gallery urls into, and have the gallery links on my tgp pull up random galleries from the script. Sort of like cashforgalleries does with their galleries. With a big enough database of galleries, I would never have to update my tgp again. Thanks for the help
Choker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2002, 05:48 PM   #2
amadman
Confirmed User
 
Join Date: Nov 2001
Location: padded room
Posts: 738
Make one :o)

I have been working in that direction myself.
__________________
Affordable Quality Niche Content at <a href="http://reyko.com/in.php?ref=amadman">Reyko</a>

Please submit your free and AVS sites <a href="http://xstash.com/sexpack/submit.html">here</a>
amadman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2002, 05:49 PM   #3
-=HOAX=-
Confirmed User
 
Join Date: Dec 2001
Location: CrackYaMental
Posts: 4,365
We're developing a tool to allow webmasters to draw from the xxx.com/tgp database should be ready soon...
__________________
Insert Value Here.
-=HOAX=- is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2002, 05:55 PM   #4
Choker
Confirmed User
 
Choker's Avatar
 
Industry Role:
Join Date: Apr 2001
Location: Orlando
Posts: 9,024
Thanks, but I want to set up my own database, and pull up the galleries I put in it myself
Choker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2002, 06:09 PM   #5
blunt
Registered User
 
Join Date: Aug 2001
Posts: 96
.

Last edited by blunt; 02-27-2002 at 06:22 PM..
blunt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2002, 06:22 PM   #6
amadman
Confirmed User
 
Join Date: Nov 2001
Location: padded room
Posts: 738
thanks blunt!

That helps me also!!!
__________________
Affordable Quality Niche Content at <a href="http://reyko.com/in.php?ref=amadman">Reyko</a>

Please submit your free and AVS sites <a href="http://xstash.com/sexpack/submit.html">here</a>
amadman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2002, 06:37 PM   #7
Choker
Confirmed User
 
Choker's Avatar
 
Industry Role:
Join Date: Apr 2001
Location: Orlando
Posts: 9,024
Blunt, thanks so much man, but I can't get it to work
Choker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2002, 06:50 PM   #8
blunt
Registered User
 
Join Date: Aug 2001
Posts: 96
yeah, i deleted it by accident when i went to edit it

PHP Code:
<?PHP

$filName 
"./galleries.txt";

$arry file($filName);
$randNum rand(0,sizeof($arry)-1);

header("Location: "$arry[$randNum]);

?>
it works fine.
put your links in a text file 1 per line, name it galleies.txt .
save the above as whatever.php , put them in the same folder.

no probs, enjoy
blunt is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2002, 06:59 PM   #9
Choker
Confirmed User
 
Choker's Avatar
 
Industry Role:
Join Date: Apr 2001
Location: Orlando
Posts: 9,024
Thanks a million Blunt. That will do for now, what I would like is a full script with admin, set cookies so the surfer doesn't see the same gallery twice, and a full database instead of using text pages. But what you gave will do for now. Thanks man
Choker is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2002, 08:44 PM   #10
Naughty
Confirmed User
 
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,482
Quote:
Originally posted by -=HOAX=-
We're developing a tool to allow webmasters to draw from the xxx.com/tgp database should be ready soon...
We already have that, TGP1 version coming VERY soon too
www.tgp2gallerypool.com
__________________
seks.ai for sale - ping me
Naughty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2002, 09:18 PM   #11
playa
Confirmed User
 
Join Date: Feb 2001
Location: atlanta, GA
Posts: 6,432
check out
www.cleangalleries.net

i got a shit load galleries in there,,, the script is a super fast dedicated server,,,


hit me up if you got any ?'s

38147712
playa is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-27-2002, 09:56 PM   #12
Lexxx
Confirmed User
 
Join Date: Feb 2001
Location: Boston
Posts: 1,489
:stoned

Thanks a lot guys... you really were helpful.
Lexxx is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-28-2002, 04:34 PM   #13
JasonB
Confirmed User
 
Industry Role:
Join Date: Nov 2001
Posts: 1,183
Blunt,
I setup the script & put 454 galleries in the .txt file, but when i click the .php link it pulls the same gallery about 99% of the time.

I tried reducing the # of galleries in the .txt file to about 220, but it still pulled the same few galleries most of the time.

Is there a way to make it randomize more?
JasonB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-28-2002, 04:41 PM   #14
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
seed the random number generator, and try mt functions

Code:
&lt;?php

  $fileName*=*"./galleries.txt";

  mt_srand( (double) microtime() * 1000000 );
  $a*=*file($fileName);
  $randNum*=*mt_rand( 0, sizeof($a)-1 );

  header( "Location: ".*$a[$randNum] );
?&gt;
__________________

Last edited by Brujah; 02-28-2002 at 04:45 PM..
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-28-2002, 04:52 PM   #15
JasonB
Confirmed User
 
Industry Role:
Join Date: Nov 2001
Posts: 1,183
Awesome. That worked perfect. Thanks!
JasonB 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.