View file service/smi/sm_gen.php

File size: 611B
<?php

error_reporting(0);

header('Cache-control: no-cache');

if(file_exists('faces/'.$_GET['f'].'.gif') && file_exists('lips/'.$_GET['l'].'.gif') && file_exists('eyes/'.$_GET['e'].'.gif')){

$face = imagecreatefromgif('faces/'.$_GET['f'].'.gif');
$lips = imagecreatefromgif('lips/'.$_GET['l'].'.gif');
$eyes = imagecreatefromgif('eyes/'.$_GET['e'].'.gif');

imagealphablending($face, 1);
imagealphablending($lips, 1);
imagealphablending($eyes, 1);

imagecopy($face, $lips, 0,0,0,0,25,43);
imagecopy($face, $eyes, 0,0,0,0,25,43);
header('Content-type: image/gif');
imagegif($face);

}
?>