Has anyone else found that when you try reading a txt file in php under netscape 6 that it crashes netscape?
Here is an example:
<?php
$fd = fopen("somefile.txt", "r");
$fstring = fread($fd, filesize("somefile.txt"));
echo("$fstring");
fclose($fd);
?>
I have about 10 of these nested in a html file and when I run it in netscape it dies.
Is there a fix for this?
Thanx,
Matt.