07/08/13 01:04:18 gsXJmo44
ぁ、なんか試行錯誤くりかえしてる段階ののっけちゃいましたすいません・・
こちらです。
srand((float) microtime() * 1000000);
$lines = file("ad.txt");
$ad_key = array_rand($lines);
$datefile = $lines[$ad_key];
$handle = fopen($datefile."r");
ad.txt中身
1.txt (試行錯誤段階で"1.txt"に変えてみたり)
2.txt
3.txt
延々
で、fopenにしてもfileにしてもどっちにしろ表示ができなくて。。