Thanks for sharing.
[PHP] - [Uploading files] - [making]
Started by
making
, Oct 12 2004 04:42 PM
21 replies to this topic
#21
Posted 13 February 2009 - 11:26 AM
- Moniqueoa likes this
#22
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