View Single Post
Old 02-18-2007, 12:13 PM  
lucas131
¯\_(ツ)_/¯
 
Industry Role:
Join Date: Aug 2004
Posts: 11,475
Quote:
Originally Posted by Quickdraw View Post
Here is a php script to do it. Jace asked for a similar one some time ago, it might work for you. It outputs to the screen vs. saving another file, so copy/paste will be your friend
You can also remove the <br> in the echo statement and just save the output if that works better.
PHP Code:
<?php 
$file 
file("urls.txt"); 

// Strips dupes if you need, comment out if you do not need this 
$temp array_unique($file); 

//Shuffles the deck or randomizes :) 
shuffle($temp); 
//Prints each line  
foreach($temp as $value
   { 
   echo 
"$value<br>"
   } 
exit; 
?>
or,
Potter posted a way to do it in Excel or OpenOffice..

Sorry Woj, you hadn't posted yet when I started..
I imagine Woj can do a lot better than this anyway, definitely worth looking into
Thanks
lucas131 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote