JustinMs66@hotmail.com Posted September 11, 2006 Share Posted September 11, 2006 i forgot the code for testing file types. like they turn out like: "application/octet-stream" ...etc. i have a upload script and i need to ban certain file types...what is that testing code?and if u need it, here is my upload script:[url=http://csscobalt.com/file_type_test.txt]http://csscobalt.com/file_type_test.txt[/url] Quote Link to comment Share on other sites More sharing options...
JayBachatero Posted September 11, 2006 Share Posted September 11, 2006 It's "$_FILES['userfile']['type']" but it seems like you already have that in your script. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.