Okay, thanks all.

I think what I'll do is save the data in a DB, and then read it in
to an array when the script is first called. That way it doesn't need
to perform the SQL query per mime_type hundreds of times, and can just
key it from the array.

How would I go about benchmarking the different options?
What tools are there to do this?

Paul

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to