Okay, so I have a 1.694 Megabyte text file (heh). I tried to run this script on it:
<?
$fp = fopen("pass1.txt", 'r');
$cool = fread($fp, filesize("pass.txt"));
$neat = explode(" ", $cool);
foreach($neat as $word) {
echo $word . ": " . md5($word) . "<br />";
}
?>
And I recieved this depressing error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 9 bytes) in /home/httpd/vhosts/morrowasted.com/httpdocs/md5er.php on line 4
Is there ANYTHING I can do besides divide it into a bunch of text files?
EDIT:Also, changing it to "$cool = fread($fp, 8388606);" or similar does not work either.