hi,
i tried to replace readfile() function using the following codes and it works well :
$fp = fopen($filename, "r");
$buffer = '';
while(!feof($fp)){
$buffer = fgets($fp,3000000);
echo $buffer;
}
but still a question why readfile() function cannot readfile > 2mb.. :bemused:
-ageex