$_FILES['BidFile']['type'] (what are the different types?)
Posted: Fri Jul 22, 2005 10:52 am
Hey all,
I've done all kinds of searches, but nothing comes up with what I need.
I need to make sure that people using a certain section of my website can only upload text files. I know that I need to use this:
$_FILES['BidFile']['type'] = "something/something"
to specify what type I want, but when I search that online, all I find in examples is image/gif, can anyone please either point me in the direction of a listing of all possible file types or just tell me what the wording is for a text file? meaning, .doc, .txt., and files like that
thanks in advance
I've done all kinds of searches, but nothing comes up with what I need.
I need to make sure that people using a certain section of my website can only upload text files. I know that I need to use this:
$_FILES['BidFile']['type'] = "something/something"
to specify what type I want, but when I search that online, all I find in examples is image/gif, can anyone please either point me in the direction of a listing of all possible file types or just tell me what the wording is for a text file? meaning, .doc, .txt., and files like that
thanks in advance