« Back to profile of MaKKaWi

  • php

    التعامل مع API خدمة gravatar

    للحصول على صورة صاحب الإيميل إن كان مسجل في خدمة gravatar إستعمل الكود الموجود بالأسفل , لمعلومات أكثر : http://en.gravatar.com/site/implement/hash/

    						<?php
$hash = md5( strtolower( trim( $_REQUEST['email'] ) ) );
echo ("<img src=http://www.gravatar.com/avatar/".$hash." />") ;
?>    			         
Add comment
To add a comment, please : Login or Sign up
    MaKKaWi
    محمد جبلي
  • New visitor?

    On setCode, you can save your codes, functions and classes, you can also share them with your friends, and track your favorite developer

    Join the SetCode community
  • Your language here :