GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Need a script for... (https://gfy.com/showthread.php?t=393909)

MAB 11-25-2004 03:23 PM

Need a script for...
 
for making random url links, please someone help me

Harmon 11-25-2004 03:24 PM

Quote:

Originally posted by MAB
for making a random url links, please someone help me
:sleep

Dynamix 11-25-2004 03:26 PM

how much are you paying

Harmon 11-25-2004 03:26 PM

Quote:

Originally posted by Dynamix
how much are you paying
He's fromCashVille. Shouldn't even be an issue :1orglaugh

Dynamix 11-25-2004 03:28 PM

Quote:

Originally posted by Harmon
He's fromCashVille. Shouldn't even be an issue :1orglaugh
:1orglaugh :1orglaugh I didn't catch that. Nice one :thumbsup

Dynamix 11-25-2004 03:32 PM

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 :Graucho

Dynamix 11-25-2004 03:45 PM

Why does nobody ever say "thank you" for free fucking work. What the fuck.. I wonder why I even waste my time.

:mad: :feels-hot

Jace 11-25-2004 03:50 PM

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.

:mad: :feels-hot

maybe cause it has only been 10 minutes
hah

thank you though, i might use that

Dynamix 11-25-2004 03:53 PM

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.

MAB 11-25-2004 03:54 PM

Thx dude
:thumbsup

Dynamix 11-25-2004 03:56 PM

Quote:

Originally posted by MAB
Thx dude
:thumbsup

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. :winkwink:

Dynamix 11-25-2004 04:00 PM

Just noticed a vital error in the script coding. Replace echo() with header() as such:

Replace:
echo $lines[$random];


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

MAB 11-25-2004 04:03 PM

k thx for all
:)

MAB 12-20-2004 10:16 PM

Not working for me, any other script please?

Young 12-20-2004 10:18 PM

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 :Graucho
For a thank you?


All times are GMT -7. The time now is 09:51 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123