PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq  >  PHP Get Gravatar URL  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Get Gravatar URL
Get the HTML to show an user image from Gravatar
Author: By
Last change:
Date: 4 years ago
Size: 172 bytes
 

Contents

Class file image Download
<?php

require "Classes/Gravatar.php";

$g = new Gravatar("lablnet01@gmail.com");
echo
$g->toHtml();


echo
"<br>";

//Change the size
$g->setSize(512);
echo
$g->toHtml();