![]() |
![]() |
![]() |
||||
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 |
Shit... Fuck! What the Hell?
Industry Role:
Join Date: Dec 2003
Posts: 7,567
|
randomizing urls in a text file.
I am looking for a small free script that can randomizes urls in a .txt file, I found something that puts them in order and its a very useful little program.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Join Date: Dec 2004
Location: Vancouver
Posts: 18,638
|
stop the black on black crime fucksakes
__________________
I like turtles. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Shit... Fuck! What the Hell?
Industry Role:
Join Date: Dec 2003
Posts: 7,567
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Jul 2004
Location: South Florida
Posts: 450
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Jul 2004
Posts: 194
|
Or you can try Randex at http://www.teca-scripts.com/free/
__________________
-- ok there is no sig here -- |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
|
something like:
PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
$file = "urls.txt";
$fp = file($file); srand((double)microtime()*1000000); $urls = $fp[array_rand($fp)]; echo $urls; will work much better in the file you will have to put <a href="http://www.url.com">site</a><br> or $file = "urls.txt"; $fp = file($file); srand((double)microtime()*1000000); $urls = $fp[array_rand($fp)]; echo "<a href='$urls'>random site</a>\n"; hope that helps
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
RIP Dodger. BEST.CAT.EVER
Industry Role:
Join Date: Dec 2002
Location: NYC Area
Posts: 18,450
|
PHP Code:
__________________
-uno icq: 111-914 CrazyBabe.com - porn art MojoHost - For all your hosting needs, present and future. Tell them I sent ya! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
RIP Dodger. BEST.CAT.EVER
Industry Role:
Join Date: Dec 2002
Location: NYC Area
Posts: 18,450
|
that hahaha91; should be [0
__________________
-uno icq: 111-914 CrazyBabe.com - porn art MojoHost - For all your hosting needs, present and future. Tell them I sent ya! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Shit... Fuck! What the Hell?
Industry Role:
Join Date: Dec 2003
Posts: 7,567
|
let me explain the purpose I need this...
I will throw all my hosted galleries into 1 txt file and want to randomize the list and grab the top "50ish" links, list them on my site and delete them from the list, when I grab new hosted galleries I can just add them into the list and they will get added randomly. is it possible to display the whole list of urls all mixed up, otherwise how will i know which ones been listed. thanks for the help guys. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Jun 2005
Location: Irvine, CA
Posts: 2,442
|
hit me up on icq.
__________________
254342256
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
sounsd like you need something custom
![]() icq: 33375924 if you need a hand with it
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
![]() |
![]() ![]() ![]() ![]() ![]() |