| AND OR | string words | *

file handling

|

read file



this will read a remote file and return the content as an array where each line is one item in the array.



full source of read file [ line 1 - 8 ] | download read file

1    <?
2   $lines file('data/file.txt');
3   $l_count count($lines);
4   for($x 0$x$l_count$x++)
5   {
6    echo $lines[$x];
7   }
8   ?>



31 hits by 27 users in the last 30 minutes.