Featuring Core Boxes

Wood Core Boxes
Geological Core Boxes
Sample Core Boxes
read more...

Custom Pine Products

Interior Pine Work
Exterior Pine Work
read more...


eXTReMe Tracker

Map


View Larger Map

I'm quitting"); exit; //No Text file here. Quit } $ourLines=file($textFileName); fclose($fp); // Now pack the text data into an array $numberOfTextSentences=count($ourLines); if ($numberOfTextSentences<1) { print ("Empty file!

I'm quitting"); } $i=0; while ($i < $numberOfTextSentences) { $textArray[$i] = "$ourLines[$i]"; $textArray[$i] = eregi_replace("\r",'',$textArray[$i]); $textArray[$i] = eregi_replace("\n",'',$textArray[$i]); $i++; } $randomSentence = rand(0,$numberOfTextSentences-1); $newSentenceText = $textArray[$randomSentence]; print "$newSentenceText" ; // print $numberOfLastSentenceUsed; } ?>