Jump to content

Uploading A File In A Form


BigAl75

Recommended Posts

I found this:

if ((($_FILES["file"]["type"] == "image/gif")|| ($_FILES["file"]["type"] == "image/jpeg")|| ($_FILES["file"]["type"] == "image/pjpeg"))

but what if I want to allow .pdf & .doc files. What would I put in place of the "image/ext". I'm guessing it's not "image/pdf".

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...