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 11-25-2004, 03:23 PM   #1
MAB
Registered User
 
Join Date: Nov 2004
Location: CashVille
Posts: 30
Need a script for...

for making random url links, please someone help me

Last edited by MAB; 11-25-2004 at 03:27 PM..
MAB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2004, 03:24 PM   #2
Harmon
( ͡ʘ╭͜ʖ╮͡ʘ)
 
Harmon's Avatar
 
Industry Role:
Join Date: Mar 2004
Posts: 20,010
Quote:
Originally posted by MAB
for making a random url links, please someone help me
__________________
[email protected]
Harmon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2004, 03:26 PM   #3
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
how much are you paying
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2004, 03:26 PM   #4
Harmon
( ͡ʘ╭͜ʖ╮͡ʘ)
 
Harmon's Avatar
 
Industry Role:
Join Date: Mar 2004
Posts: 20,010
Quote:
Originally posted by Dynamix
how much are you paying
He's fromCashVille. Shouldn't even be an issue
__________________
[email protected]
Harmon is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2004, 03:28 PM   #5
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
Quote:
Originally posted by Harmon
He's fromCashVille. Shouldn't even be an issue
I didn't catch that. Nice one
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2004, 03:32 PM   #6
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
Create a PHP file named "urls.php" with the URL's sorted each on its own line. IE:
Quote:
www.url1.com
www.url2.com
www.url3.com
www.url4.com

Then create a PHP file named random.php with the following contents:

PHP Code:
<?PHP

$lines 
file("urls.php");
$total count($lines);

srand(time());
$random = (rand()%$total);
echo 
$lines[$random];

?>

Usage:
PHP Code:
<A HREF="random.php">Click here for random link</A

You may contact me via the methods below for my PayPal address
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2004, 03:45 PM   #7
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
Why does nobody ever say "thank you" for free fucking work. What the fuck.. I wonder why I even waste my time.

__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2004, 03:50 PM   #8
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
Quote:
Originally posted by Dynamix
Why does nobody ever say "thank you" for free fucking work. What the fuck.. I wonder why I even waste my time.

maybe cause it has only been 10 minutes
hah

thank you though, i might use that
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2004, 03:53 PM   #9
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
Quote:
Originally posted by JaceXXX
maybe cause it has only been 10 minutes
hah

thank you though, i might use that
Ten minutes is a long time on GFY.. just look at how many thousands of members we have posting hundreds of threads.

The point remains, it's happened before.. I coded a script for JupZChris for free and I declined the $20 because I don't have Epass and just wanted a few comments. I asked for a little feedback I could throw in my portfolio (about quickness, accuracy, etc.).. never got it.
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2004, 03:54 PM   #10
MAB
Registered User
 
Join Date: Nov 2004
Location: CashVille
Posts: 30
Thx dude
MAB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2004, 03:56 PM   #11
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
Quote:
Originally posted by MAB
Thx dude
You rock. If you like you can send positive feedback to [email protected] so that I can use it in my portfolio. Chris never got around to it so I don't expect you to, but it'd be appreciated.
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2004, 04:00 PM   #12
Dynamix
G F Y not
 
Industry Role:
Join Date: Jan 2004
Location: MN
Posts: 2,910
Just noticed a vital error in the script coding. Replace echo() with header() as such:

Replace:
echo $lines[$random];


With:
header("Location:" . $lines[$random]);
__________________

TGPFactory Full TGP Design & Installation Services
ICQ 250 142 484 · AIM TGPDynamix · Email: patrick (at) tgpfactory (dot) com
See who I am at AdultWhosWho.com!
Dynamix is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-25-2004, 04:03 PM   #13
MAB
Registered User
 
Join Date: Nov 2004
Location: CashVille
Posts: 30
k thx for all
MAB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2004, 10:16 PM   #14
MAB
Registered User
 
Join Date: Nov 2004
Location: CashVille
Posts: 30
Not working for me, any other script please?
MAB is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 12-20-2004, 10:18 PM   #15
Young
Bland for life
 
Industry Role:
Join Date: Nov 2004
Posts: 10,468
Quote:
Originally posted by Dynamix
Just noticed a vital error in the script coding. Replace echo() with header() as such:

Replace:
echo $lines[$random];


With:
header("Location:" . $lines[$random]);
Dynamix want to code me a full fledged pic community
For a thank you?
__________________
★★★
Young 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.