Posted By

khaled on 03/18/10


Tagged

Gravatar


Versions (?)

Gravatar


 / Published in: PHP
 

URL: http://twitter.com/boubakr4ever/status/10685386464

  1. <?php
  2. function _gravatar($email, $size='75', $defaultImg='http://a1.twimg.com/profile_images/709886980/Albert_Einstein_bigger.jpg'){
  3. return 'http://www.gravatar.com/avatar/'.md5($email).'?s=' . $size . '&default=' . $defaultImg . '&r=G';
  4. }
  5. ?>

Report this snippet  

You need to login to post a comment.