/usr/share/doc/php-horde-service-gravatar/examples/fetch_avatar.php is in php-horde-service-gravatar 1.0.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | <?php
require_once 'Horde/Autoloader/Default.php';
$g = new Horde_Service_Gravatar();
file_put_contents('/tmp/avatar.jpg', $g->fetchAvatar('wrobel@horde.org'));
|