1) {
$icon = str_pad($m[1], 3, '0', STR_PAD_LEFT);
header("Location: /sprites/icons/" . $icon . ".png");
exit(0);
}
header("HTTP/1.0 404 Not Found");
header("Content-type: image/png");
$im = imagecreatetruecolor(1, 1);
$tc = imagecolorallocate($im, 0, 0, 0);
imagecolortransparent($im, $tc);
imagepng($im);
imagedestroy($im);
}
?>