Strange problem with file upload |
(02-19-2018, 06:47 PM)LEBOSSS Wrote: Thank you @kirasiris, i made all of yur suggested modifications but no way. It's not working. This is what your code should look if you want it to send it to a database and into a folder. PHP Code: // Upload mp3/Ogg File try and see if it works, and to respond your second question about uploading a file that looks like an mp3 file but its not, I will highly recommend you to convert any file into mp3 before uploading just to make sure you dont mess with uploading class; or if you have any idea of what the real extension of the file is, then added it to the allowed_types parameter and see if it works.
I do Front-End development most of the time
|
Messages In This Thread |
Strange problem with file upload - by LEBOSSS - 02-19-2018, 04:37 PM
RE: Strange problem with file upload - by php_rocs - 02-19-2018, 05:04 PM
RE: Strange problem with file upload - by LEBOSSS - 02-19-2018, 05:15 PM
RE: Strange problem with file upload - by kirasiris - 02-19-2018, 06:23 PM
RE: Strange problem with file upload - by LEBOSSS - 02-19-2018, 06:47 PM
RE: Strange problem with file upload - by kirasiris - 02-19-2018, 07:13 PM
RE: Strange problem with file upload - by LEBOSSS - 02-19-2018, 07:34 PM
RE: Strange problem with file upload - by Paradinight - 02-19-2018, 09:04 PM
RE: Strange problem with file upload - by LEBOSSS - 02-20-2018, 07:51 AM
|