well, it sucks. that doesnt work. its very weird, i've added extra things, that work in other scripts but they wont work here, grrr. I even tried your code, doenst work either

$file=file('test.txt');
$file2=file_get_contents("test.txt");
$filecontents = file_get_contents("test.txt");
$count=count($file);
$random=rand(0,$count-1);
echo $file[$random];
echo $file2;
echo $filecontents;
this gives a blank screen

What am I doing wrong???
edit: THANKS, I found the error
