Well, there is really a short answer for this one. NO!
I guess you want to inform the user that a 30MB file is to much to handle for the default 2MB barrier of PHP. Uploading the 30MB file to inform the user that 2MB is what we can handle is kinda to late.. Ive been looking several times for systems that can tell me the filesize before I upload the files / images. Javascript doesnt have the rights, maby some javaapplet where the user accepts the applet could do it. The best function Ive seen so far is the image upload applet from the Gallery team, ther are very close to being able to confront this problem. If you find a sollution be sure to inform me, I would love to know it. Happy hunting! -- -- Kim Steinhaug ---------------------------------------------------------------------- There are 10 types of people when it comes to binary numbers: those who understand them, and those who don't. ---------------------------------------------------------------------- www.steinhaug.com - www.easywebshop.no - www.webkitpro.com ----------------------------------------------------------------------¨ "Pablo Gosse" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi folks. I'm just tweaking the file manager portion of my CMS, and am wondering if there is any way I can identify the size of an uploaded file which exceeded the upload_max_filesize? I'd like to be able to tell the user the size of the file they tried to upload, in addition to telling them the allowable maximum size. It would seem logical to me that I would not be able to do this, since if the file exceeds the limit set by upload_max_filesize then the upload should not continue past that point. Is this an accurate assumption? Cheers and TIA. Pablo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php