Hi,
I am doing some validation on files that are being upload. I only wish
to allow users to upload files that are in *plain text* format (not
neccessarily with a .txt extension). I have the following piece of code,
which works fine in IE, but in Netscape Navigator:
if ($file_type != "text/plain")
... error handling...
Can anyone explain the reason for this, or offer a better solution?
Thanks,
Lee
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php