Bofas Posted June 24, 2011 Share Posted June 24, 2011 hi all, I have this code and I want to resize from 640,640 to 320,320 thats it <?php if (isset ($_POST['upload_img'])) { $file = basename($_FILES['userfile']['name']); move_uploaded_file($_FILES['userfile']['tmp_name'], 'images/' .$file); } ?> Quote Link to comment Share on other sites More sharing options...
gizmola Posted June 24, 2011 Share Posted June 24, 2011 gd and imagecopyresampled Quote Link to comment Share on other sites More sharing options...
Bofas Posted June 24, 2011 Author Share Posted June 24, 2011 can anyone edit my code I need sample Quote Link to comment Share on other sites More sharing options...
gizmola Posted June 24, 2011 Share Posted June 24, 2011 can anyone edit my code I need sample What code? Quote Link to comment Share on other sites More sharing options...
EdwinPaul Posted June 24, 2011 Share Posted June 24, 2011 read http://www.bitrepository.com/web-programming/php/resizing-an-image.html and find out how 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.