I'm using a file upload on my website and I don't understand why some uploads aren't accessible through web browser, I can only see them through FTP client.
My php function looks like this:
move_uploaded_file($fileTmpLoc, 'uploads/'.date('ymdGis').'-'.substr(str_shuffle(md5(time())),0,4).'-'.str_replace(' ', '-', $fileName))
When uploading a file like
Screen Shot 2013-10-22 at 7.14.00 AM.png
the result link is
/uploads/131022172126-08cd-Screen-Shot-2013-10-22-at-7.13.18-AM.png
Is it the length of the file or something else that causes some files not to be accessible through a web browser.