type; header("Content-type: $imagedata->type"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); print $imagedata->body; flush(); } else { echo "\n"; echo " error -- bad, bad, very bad \n"; echo "\n"; echo "\n"; echo "error: unable to select id: $id\n"; echo "(not a valid id)\n"; echo "\n"; } } else { echo "\n"; echo "error: unable to select id: $id\n"; echo "
database error\n"; echo "\n"; } ?>