Jump to content

- - - - -

[PHP] - [Uploading files] - [making]

  • Please log in to reply
21 replies to this topic

#21 Hello-World


    Young Padawan

  • Members
  • Pip
  • 9 posts

Posted 13 February 2009 - 11:26 AM

Thanks for sharing. :P
  • Moniqueoa likes this

#22 Wybe


    Jedi In Training

  • Members
  • PipPip
  • 401 posts
  • Gender:Male
  • Location:the Netherlands
  • Interests:I have no interests

Posted 10 March 2009 - 08:05 AM

what if i want to upload mp3 format file?

you have to add the mime type for an MP3 to the allowed files array. I don't know what it is exactly, but it's probably better if you'd figure that out yourself anyway 0:) for example, if you could echo the filetype in case a file fails to upload properly, like debugging, you'd immediately know what filetype your mp3 has, and it helps figuring out why your script doesnt work if you come across a file with a weird/unknown/unexpected MIME.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users