Using md5_file(); doesn't return the md5 sometimes?
- by Rob
<?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?