Hello. I have read the Chapter 18. Handling file uploads of the manual so I know how to upload a file to the server. The thing is, I want to resize the file before storing it on the server, hence my question:
How do I access (without storing it) the file I just uploaded before storing it, so that I can process it (resize it) and THEN store it when it's already resized?
Is this possible or do I have to store the originally uploaded file, and then in some way that I'll find out through the manual, open it, resize it, copy it and delete the originally uploaded one?
It is my understanding that the $_FILES values are deleted as soon as the upload is finished, which leads me to think I can't use those values to process/resize the image, is this a correct assumption?