As a follow up on my last post, the following works on my Windows system but not on my Unix system: $Type = filetype($Directory); On Unix it always returns a null value. Urb -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]