Get ready for BLACK FRIDAY shopping starting in

Forums

PHP

This topic is locked

Pure Upload - making filenames lowercase

Posted 27 May 2008 07:08:44
1
has voted
27 May 2008 07:08:44 Scott Richardson posted:
Hi all!

Basically.. I really need to get it to make ALL file names of uploaded files completely lowercase.

I know i should be able to modify the script SOMEwhere and include an strtolower($variable); somewhere.

Can you possibly tell me where I could do this? I need all my uploaded files, including thumbnails that are created by smart image processor, to all be lower case.

Im having too many users upload an image with .JPG, only for my thumbnails to be saved with .jpg, which means the filename in the database only corresponds to the original file and not the thumbnail.

Please help!!

Kind Regards

Scott

Reply to this topic