I'm looking for the correct way to write this IF statement.
if($userfile_type != 'application/msword' || $userfile_type != 'text/plain' || $userfile_type != 'text/rtf') {
Where if it isn't a Word doc, Rich Text or Text, do this. I've tried this IF statement the above way, and a few other differert ways, each one indicating it's not a valid file, even if I upload a regular text file.
if(($userfile_type != "application/msword") || ($userfile_type != "text/plain") || ($userfile_type != "text/rtf")) {
Thanks,
Eve