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)
-   -   i need a cheap textlink rotation script... (https://gfy.com/showthread.php?t=400064)

MrIzzz 12-08-2004 05:04 PM

i need a cheap textlink rotation script...
 
...for a small tgp. i dont need anything crazy so DO NOT SPAM ME WITH YOUR BULLSHIT.

all i need is a simple script that will randomly rotate textlinks and is easy to install and reliable thank you so much

Ice 12-08-2004 05:05 PM

I got half a pop tart you can have :)

MrIzzz 12-08-2004 05:05 PM

Quote:

Originally posted by iceicebaby
I got half a pop tart you can have :)
you are a tart

:1orglaugh :1orglaugh

masssssssssssssssssssssssssssssssssssssssive

Pete 12-08-2004 05:05 PM

If you dont get one I'll make one for you.

Ice 12-08-2004 05:06 PM

Quote:

Originally posted by MrIzzz
you are a tart

:1orglaugh :1orglaugh

masssssssssssssssssssssssssssssssssssssssive

HUGEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE :glugglug

MrIzzz 12-08-2004 05:06 PM

Quote:

Originally posted by Pete
If you dont get one I'll make one for you.
really? i'll definitely let you know in a bit then. thanks bro

Pete 12-08-2004 05:07 PM

Quote:

Originally posted by Pete
If you dont get one I'll make one for you.
Wait a second, I dont have a fuckin clue how to make one. :1orglaugh

Juicy D. Links 12-08-2004 05:07 PM

Izzy has syphllis

Pete 12-08-2004 05:08 PM

Izzy, sorry man I can be a dick sometimes. :)

JSA Matt 12-08-2004 05:08 PM

links.txt
Izzy loves the cock, click here to watch!
Izzy is a sex machine, watch him ride the anal anialator!
Izzy and Juicy, sitting in a tree, K-I-S-S-I-N-G

links.php
<?php
$links = file("links.txt");
echo $links[rand(0,count($links))];
?>

MrIzzz 12-08-2004 05:08 PM

Quote:

Originally posted by Pete
Wait a second, I dont have a fuckin clue how to make one. :1orglaugh
:feels-hot :feels-hot :feels-hot

i hate you

MrIzzz 12-08-2004 05:09 PM

Quote:

Originally posted by JSA Matt
links.txt
Izzy loves the cock, click here to watch!
Izzy is a sex machine, watch him ride the anal anialator!
Izzy and Juicy, sitting in a tree, K-I-S-S-I-N-G

links.php
<?php
$links = file("links.txt");
echo $links[rand(0,count($links))];
?>

:(

i do not love the cock, i only like it a little bit

Repetitive Monkey 12-08-2004 05:12 PM

Quote:

Originally posted by JSA Matt
links.txt
Izzy loves the cock, click here to watch!
Izzy is a sex machine, watch him ride the anal anialator!
Izzy and Juicy, sitting in a tree, K-I-S-S-I-N-G

links.php
<?php
$links = file("links.txt");
echo $links[rand(0,count($links))];
?>

Wrong. Your script has a 1/(number of lines+1) chance of echoing absolutely nothing. You have to decrease count($links) by one.

thewebgarage 12-08-2004 05:13 PM

http://www.jmbsoft.com/software/tgpr/

Pete 12-08-2004 05:13 PM

Quote:

Originally posted by Repetitive Monkey
Wrong. Your script has a 1/(number of lines+1) chance of echoing absolutely nothing. You have to decrease count($links) by one.
I disagree, I think it will echo just fine. :1orglaugh

Repetitive Monkey 12-08-2004 05:15 PM

Quote:

Originally posted by Pete
I disagree, I think it will echo just fine. :1orglaugh
Wrong.

MrIzzz 12-08-2004 05:15 PM

Quote:

Originally posted by thewebgarage
http://www.jmbsoft.com/software/tgpr/
thats not bad at all for 85 bucks

MrIzzz 12-08-2004 05:16 PM

Quote:

Originally posted by Repetitive Monkey
Wrong.
pete's a homooooooooooooooooooo and he gave me blueballs

Pete 12-08-2004 05:18 PM

Quote:

Originally posted by MrIzzz
pete's a homooooooooooooooooooo and he gave me blueballs
They arent that blue.

Repetitive Monkey 12-08-2004 05:18 PM

Quote:

Originally posted by MrIzzz
pete's a homooooooooooooooooooo and he gave me blueballs
Pete is in fact a confirmed homo.

MrIzzz 12-08-2004 05:19 PM

Quote:

Originally posted by Pete
They arent that blue.
:eek7

ok, they're purple

Pete 12-08-2004 05:22 PM

Quote:

Originally posted by Repetitive Monkey
Pete is in fact a confirmed homo.
:moon

Lycanthrope 12-08-2004 05:26 PM

See sig... check out Gallery Admin
Can rotate galleries, links, 404s, just about any thing you want

Wolfy 12-08-2004 06:49 PM

Quote:

Originally posted by Repetitive Monkey
Wrong. Your script has a 1/(number of lines+1) chance of echoing absolutely nothing. You have to decrease count($links) by one.
So...
<?php
$links = file("links.txt");
echo $links[rand(0,count($links))];
?>

How do you do that?
<?php
$links = file("links.txt");
echo $links[rand(-1,count($links))];
?>

?

JSA Matt 12-08-2004 06:57 PM

Quote:

Originally posted by Repetitive Monkey
Wrong. Your script has a 1/(number of lines+1) chance of echoing absolutely nothing. You have to decrease count($links) by one.
Assuming the last line is blank (hit enter on line 3 makes line 4 blank), you would be right. Otherwise it will work fine.

xclusive 12-08-2004 07:01 PM

http://www.focalmedia.net/htmlrotate.html

hope that helps ya a little man...

Repetitive Monkey 12-09-2004 02:04 AM

Quote:

Originally posted by JSA Matt
Assuming the last line is blank (hit enter on line 3 makes line 4 blank), you would be right. Otherwise it will work fine.
Wrong again! rand(0,count($links)) will give FOUR possibilities; 0, 1, 2, and 3. And there are only three lines (0, 1, and 2). Is simple counting too complex for you?

rand(0,count($links)-1)

BlueQuartz 12-09-2004 02:47 AM

would take no more than two minutes to find this on google

Repetitive Monkey 12-09-2004 03:09 AM

Quote:

Originally posted by BlueQuartz
would take no more than two minutes to find this on google
The script above works, if the fix is considered. But it isn't very efficient.

I should have done this sooner, sorry:

<?
$element[]="blablabla";
$element[]="blablablabla";
$element[]="blablablablabla";
mt_srand((double)microtime()*1000000);
echo $element[mt_rand(0,count($element)-1)];
?>

Repetitive Monkey 12-09-2004 05:26 AM

Quote:

Originally posted by Repetitive Monkey
Wrong again! rand(0,count($links)) will give FOUR possibilities; 0, 1, 2, and 3. And there are only three lines (0, 1, and 2). Is simple counting too complex for you?

rand(0,count($links)-1)

I am sorry if I appeared a bit pissy, by the way. I was in a hurry and had no time to smoothe over the words.

mortenb 12-09-2004 05:33 AM

I can help you with a custom script for some traffic..

ayeronnie 12-09-2004 06:28 AM

Older version of phpAdsNew , easy to use and free. Will rotate just about any ad or link.

ronnie


All times are GMT -7. The time now is 10:46 PM.

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