<?php //file_fgetss.php $path="r_tags_2.txt"; $handle = fopen($path, "r"); while (!feof($handle)) { $buffer = fgetss($handle, 1400); echo $buffer; } fclose($handle); ?> <html> <title> file_filesize.php</title> <body text="#000080" bgcolor="#F7F0D7"> <br> <?php echo "file size is: ".filesize($path) . ' bytes'; ?> </body> </html>