What I could offer you is this:
store your font names in your database. All the font names that your server machine has. You will need to do that only once

. You could also speed up the process by using this:
Code:
<?php
$dir = "your_font_directory";
// Open a known directory, and proceed to read its contents
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
echo "filename: $file : filetype: " . filetype($dir . $file) . "\n";
}
closedir($dh);
}
}//code taken from PHP Manual
?>
instead of echo "filename..... blablabla" put your code where you could insert all the file names without extensions.
Then after you are done with this, you are saying a user can upload his/her own font. Then when they do so just insert the new font into your database

.
Regards,
Pratamishus.
_________________
www.eb-downloads.com
FREE E-BOOKS DOWNLOADS.