The above works. Here's another way:
//put the text into an array
$text_array = explode ("*******", $your_text_file);
//randomize the array
shuffle ($text_array);
//display one of them
echo "$text_array";
// if you want to display all of them randomly
for($arrayLoop=0;$arrayLoop <= count($text_array);$arrayLoop++){
echo "text_array[$arrayLoop]";
}