sniped22 Posted March 12, 2007 Share Posted March 12, 2007 whenever a user uploads a .gif file, it automatically becomes renamed to .GIF and i guess php/html is case sensitive so filename.gif is not the same as filename.GIF. Any way to change .GIF back to .gif Link to comment https://forums.phpfreaks.com/topic/42431-gif/ Share on other sites More sharing options...
HaLo2FrEeEk Posted March 13, 2007 Share Posted March 13, 2007 strtolower($ext) Replace $ext with whatever you are using to get the extension of the file when you upload it. Link to comment https://forums.phpfreaks.com/topic/42431-gif/#findComment-205838 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.