- trim: documentation ( source)
- strtolower: documentation ( source)
- printf: documentation ( source)
- md5: documentation ( source)
<?php
$emails = array("cely@iqnection.com", "cely@tenable.com", "Chris.Ely@gmail.com");
foreach ($emails as $k => $email) {
$hash = md5( strtolower( trim( $email ) ) );
printf('http://www.gravatar.com/avatar/%s?d=identicon <br/>', $hash);
}