<?php
include_once('booter/login/includes/db.php');
$query="SELECT * FROM shells";
$result=mysql_query($query);
while($row=mysql_fetch_array($result, MYSQL_ASSOC)){
$hash = @md5_file($row['url']);
echo $hash . "<br>";
}
?>
The above is my code. Usually it works flawlessly on most urls, but every now and then it will just skip the md5 on a line, as if it doesn't retrieve it, even though the file is there.
I can't figure out why. Any ideas?
EDIT: When removing the '@' it returns this:
[function.md5-file]: failed to open stream: No such file or directory