Jump to content


file type test? ...i forgot how to do it.

  • Please log in to reply
1 reply to this topic

#1 JustinMs66@hotmail.com

  • Members
  • PipPipPip
  • Advanced Member
  • 138 posts

Posted 11 September 2006 - 08:02 PM

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:

#2 JayBachatero

  • Members
  • PipPipPip
  • Advanced Member
  • 296 posts
  • LocationQueens NY

Posted 11 September 2006 - 08:15 PM

It's "$_FILES['userfile']['type']" but it seems like you already have that in your script.
SMF Developer && Converter Specialist

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users