Uploading files, however I want to accept only the following files types: GIF, JPG, PNG, PDF, DOC. What would the PDF and DOC File types equal? What I have below obviously doesn't work.
if (($_FILES['userfile']['type'] != 'image/pjpeg') && ($_FILES['userfile']['type'] != 'image/jpeg') && ($_FILES['userfile']['type'] != 'image/gif') && ($_FILES['userfile']['type'] != 'image/pdf') && ($_FILES['userfile']['type'] != 'image/doc'))