There was a wong answer and then there is the right answer: $fp = fopen($file,"r"); while (!feof($fp)) { $line = fgets($fp, 4096); //gets one line at a time echo $line; // Or whatever else you want to do } fclose($fp);
HTH. Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php