teammist Posted February 21, 2013 Share Posted February 21, 2013 How can i do a file upload that only supports .png files, and the name doesnt change, and in the same directory as the uploader is in. If the file is already there it will display an error saying it's already there. iv tried googling everywhere, still nothing. Hope you can help, thanks! Quote Link to comment https://forums.phpfreaks.com/topic/274778-png-only-upload/ Share on other sites More sharing options...
AyKay47 Posted February 21, 2013 Share Posted February 21, 2013 Apply an extension filter to the file validation logic. What code have you written so far? Quote Link to comment https://forums.phpfreaks.com/topic/274778-png-only-upload/#findComment-1413914 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.