git-svn-id: http://xe-core.googlecode.com/svn/trunk@1411 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-05-16 01:57:34 +00:00
parent c459b1bf0d
commit 1b727a32a1
6 changed files with 141 additions and 17 deletions

View file

@ -22,7 +22,7 @@
$fp = fopen($file_name, "r");
$buff = '';
if($fp) {
while(!feof($fp) || strlen($buff)<$filesize) {
while(!feof($fp) && strlen($buff)<=$filesize) {
$str = fgets($fp, 1024);
$buff .= $str;
}