PHP mp3 upload with spaces in filename

Posted by Maenny on Stack Overflow See other posts from Stack Overflow or by Maenny
Published on 2010-05-08T12:38:40Z Indexed on 2010/05/08 12:48 UTC
Read the original article Hit count: 305

Filed under:
|
|
|

Hi folks,

I am building a site, where users can upload their mp3s and I ran into a little problem that I can't solve:

The upload works fine, but only when the user selects an mp3-file which has no spaces in their mp3-filename. A file like 'My nice mp3 file.mp3' will result in a NULL of $_FILES['file']. Has this to do with Server-configurations?

Anyone has an idea how to solve that? Other than telling the user just to upload mp3files without spaces in their names, that is :-)

Thanx,

Maenny

© Stack Overflow or respective owner

Related posts about php

Related posts about mp3