You could always open it and see if the first few characters are "{\rtf1".
Brady > Is there any way to test a file to confirm it is an RTF file? > > I'm thinking along the lines of how we can test for an image with > getimagesize(). > > kind regards, > > bill > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php