i realize it sounds trivial but the online info is annoyingly recursive. there's mime_content_type(), but it's officially deprecated. there's getimagesize() but, as i read it, it's only good for images and i'm going to want to categorize audio and video files. finally, numerous people refer to the PECL FileInfo extension but, in the same breath, admit that a lot of folks have problems with it so you might want to drop back to the (deprecated) mime_content_type() routine. thoughts? rday -- ======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday ======================================================================== -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php