you have to make a dynamic image. you have to use the GD library and mysql. i figure you know that. this is the way i did it:
[PHP]$nav = $_SERVER["REQUEST_URI"];
$script = $_SERVER["SCRIPT_NAME"];
$nav = ereg_replace("^$script", "", $nav);
$nav = str_replace("%20"," ",$nav);
$vars = explode("/", $nav);
$ID = strtolower($vars[1]);[/PHP]
so when you go say my site:
www.xcanadamanx.phpnet.us/stats/statssigs.php/1.png it will read the 1. the $ID will be 1. and then you just do a mysql query and find the id 1 and get the infromation you need and then create the image.
[PHP]
imagettftext($im,8.0,0,47,63,$black,$font,$Time);
imagettftext($im,8.0,0,46,61,$white,$font,$Time);
imagettftext($im,8.0,0,47,86,$black,$font,$OldB);
imagettftext($im,8.0,0,46,84,$white,$font,$OldB);
imagettftext($im,8.0,0,50,109,$black,$font,$OldC);
imagettftext($im,8.0,0,49,107,$white,$font,$OldC);
imagettftext($im,8.0,0,154,86,$black,$font,$OldE);
imagettftext($im,8.0,0,153,84,$white,$font,$OldE);
imagettftext($im,8.0,0,168,109,$black,$font,$OldLe);
imagettftext($im,8.0,0,167,107,$white,$font,$OldLe);
imagettftext($im,8.0,0,7,128,$white,$font,$User);
header("Content-type: image/png");
imagepng($im);
imageDestroy($im);[/PHP]
hope this helps.