Depends on how you write it as well...
i.e. don't do
// get contents of a file into a string
$filename = "/usr/local/something.txt";
$fd = fopen ($filename, "r");
$contents = fread ($fd, filesize ($filename));
fclose ($fd);
🙂
something along the lines of
$filename = "/usr/local/something.txt";
$fd = fopen ($filename, "r");
while( $contents = fread ($fd, 1024) )
{
//do wonderful things to $contents and prob. put somewhere
}
fclose ($fd);
should be ok...
Cheers,
Andy