druvans
that`s exactly what I mean ! but instead of email at right should by profile id for example but this is small changes...
can you send me a copy of it to please.
edit: find this one
<?php
$temp=$_GET["w"];
$order=$_GET["r"];
$color=$_GET['color'];
$font=4;
if (isset($color))
{
$color = str_replace('#','',$color);
$rgb = array('r' => hexdec(substr($color,0,2)),
'g' => hexdec(substr($color,2,2)),
'b' => hexdec(substr($color,4,2)));
}
else
$rgb = array('r' => 0,
'g' => 150,
'b' => 0);
if (isset($order))
$temp=implode('~',array_reverse(split('~',$temp)));
$mail=preg_replace('/~/','@',$temp,1);
$mail=str_replace('~','.',$mail);
$width=ImageFontWidth($font)*strlen($mail);
$height=ImageFontHeight($font);
$im = imagecreate($width, $height);
$bg = imagecolorallocate($im, 255, 255, 255);
imagecolortransparent($im,$bg);
imagefill($im,0,0,$bg);
$textcolor = imagecolorallocate($im, $rgb[r], $rgb[g], $rgb[b]);
imagestring($im, $font, 0, 0, $mail, $textcolor);
header("Content-type: image/png");
imagepng($im);
?>