Get the X prior to resize

See all posts See thread Reply

Re: Get the X prior to resize new!
by Leon, 17 years, 5 months ago
let's say we got the name of the uploaded file with $foo->file_src_name, is there a way to get the full path where the file has been uploaded?

I would like to check the mime and size of the uploaded file before the action, so I need to use file_exists() and getimagesize() functions and for this I need to know the full path to the file. Documents say it is /tmp/ but is this always true?Reply