mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2024-11-14 07:59:27 +01:00
php/gravatar.php: Don't create links for empty md5 hashes!
This commit is contained in:
parent
373cc677a9
commit
59b8227133
@ -28,6 +28,9 @@ $email = strtolower( $email );
|
||||
|
||||
$md5email = md5( $email );
|
||||
|
||||
// Do nothing if our md5 is an empty string!
|
||||
if($md5email != "d41d8cd98f00b204e9800998ecf8427e") {
|
||||
|
||||
echo "<p>md5<br> $md5email</p>";
|
||||
|
||||
echo "<p>Link<br>";
|
||||
@ -36,4 +39,5 @@ echo "$gravatar</p>";
|
||||
echo "<p>";
|
||||
echo "<img src=$gravatar>";
|
||||
echo "</p>";
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user