Hello everyone. I have the mime types set to: audio/mpeg;audio/x-mpeg;audio/mp3;audio/x-mp3; audio/mpeg3;audio/x-mpeg3;audio/mpg;audio/x-mpg; audio/x-mpegaudio;audio/x-ms-wma;video/x-ms-asf;
and size at (notice extra 0) 10000000
I can upload .wma files, but not .mp3 files.
I used the test script and got the following:
PHP Version: 5.3.27.
FILEINFO_MIME_TYPE is defined.
finfo_open is callable.
finfo_file is callable.
finfo_close is callable.
mime_content_type is callable.
This is a NON-Windows OS: Linux.
escapeshellarg is callable.
exec is callable.
shell_exec is callable.
Filename file_info mime_content_type exec -b –mime-type [-bi] shell_exec -b –mime-type [-bi]
01 – Invincible (Explicit).wma video/x-ms-asf video/x-ms-asf video/x-ms-asf[video/x-ms-asf; charset=binary] video/x-ms-asf [video/x-ms-asf; charset=binary ]
11 – Paper Planes.mp3 audio/mpeg audio/mpeg audio/mpeg[audio/mpeg; charset=binary] audio/mpeg [audio/mpeg; charset=binary ]
index.html inode/x-empty inode/x-empty application/x-empty[application/x-empty; charset=binary] application/x-empty [application/x-empty; charset=binary ]
test_script4.php text/html text/html text/html[text/html; charset=us-ascii] text/html [text/html; charset=us-ascii ]
I’m on a shared server, but it’s important to note that I’ve set the max upload in the php.ini file to 64M and tested, and I’m able to upload .mp3 or any other files via ftp.
PLEASE ADVISE. Thanks!