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 Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.