Reply to Re: Get the X prior to resize

Re: Get the X prior to resize new!
by Leon, 16 years, 10 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

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important