arbitrageur Posted November 4, 2014 Share Posted November 4, 2014 I have another thread, but it's on a different question. // remake image if(create_image($fileExt, $_FILES["myfile"]["tmp_name"], $_FILES["myfile"]["tmp_name"], 80) !== FALSE){ // generate thumbnail if(generatethumbs2('.'.$fileExt, $_FILES["myfile"]["tmp_name"], 120, $_FILES["myfile"]["tmp_name"], 85) == TRUE){ $aws = new s3; $aws = $aws->putObject($newFileName, $_FILES["myfile"]["tmp_name"]); image_string($username,$newFileName,$mysqli); } } Is my code. How do I access both the remade image AND the thumbnail? Currently, I can only access the thumbnail. I need to be able to access them concurrently for upload to Amazon s3. Quote Link to comment https://forums.phpfreaks.com/topic/292252-handling-_filestmp_name-concurrently/ Share on other sites More sharing options...
requinix Posted November 4, 2014 Share Posted November 4, 2014 Unless your thumbnail generator destroyed it, the temporary file is still there. Quote Link to comment https://forums.phpfreaks.com/topic/292252-handling-_filestmp_name-concurrently/#findComment-1495658 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.