Hello Bob, Sunday, December 7, 2003, 1:00:44 AM, you wrote:
BH> I want to test an uploaded file to see if it is a text file, but I don't want BH> to rely on the presence of an os command such as 'file.' Is there a BH> straightforward way to do this within PHP? Thanks in advance. Yes, check the $_FILES['userfile']['type'] after upload. -- Best regards, Richard mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php