agriz Posted October 10, 2013 Share Posted October 10, 2013 I am using php gd to read the uploaded image and then i use imagejpeg to store it in the server. Is it bad way to do it? move_uploaded_file / createimagefrom[type] which is the best method? and why? If i use imagecreatefromjpeg|gif|png, how can someone upload malicious file? Quote Link to comment https://forums.phpfreaks.com/topic/282863-secured-way-to-upload-images-using-php/ 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.