Many users have images on Gravatar. If you want to dispaly user’s Gravatar image then you just need email address of that user and get its MD5 hash then append it to Gravatar URL. Following is example.
$gravatar_url = 'http://www.gravatar.com/avatar/' . md5($user_email_address) . '?s=32'; echo '<img src="' . $gravatar_url . '" width="32" height="32" />';
The ability to create reliable APIs is essential in today's web development environment. I'll show…
The difference between XML that we get in response to any REST API and XML…
I hope you already have WSL2 installed and enabled. So, setting up Apache2 on WSL2…
Install NVM on Windows Node Js is a JavaScript runtime environment used widely in today’s…
You can easily reset WSL 2 users' password, by just following the following steps. Open…
DreamHost a web hosting company, founded in 1997. It is offering sort of hosting services,…