![]() |
![]() |
![]() |
||||
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 |
Confirmed User
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
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. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Confirmed User
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Registered User
Join Date: Aug 2001
Posts: 96
|
.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
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> |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Apr 2001
Location: Orlando
Posts: 9,024
|
Blunt, thanks so much man, but I can't get it to work
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Registered User
Join Date: Aug 2001
Posts: 96
|
yeah, i deleted it by accident when i went to edit it
![]() PHP Code:
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
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
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: Utopia
Posts: 6,482
|
Quote:
www.tgp2gallerypool.com
__________________
seks.ai for sale - ping me |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Join Date: Feb 2001
Location: Boston
Posts: 1,489
|
![]() Thanks a lot guys... you really were helpful.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
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? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
seed the random number generator, and try mt functions
Code:
<?php $fileName*=*"./galleries.txt"; mt_srand( (double) microtime() * 1000000 ); $a*=*file($fileName); $randNum*=*mt_rand( 0, sizeof($a)-1 ); header( "Location: ".*$a[$randNum] ); ?>
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Industry Role:
Join Date: Nov 2001
Posts: 1,183
|
Awesome. That worked perfect. Thanks!
|
![]() |
![]() ![]() ![]() ![]() ![]() |