Re: Can I detect size of files which are too large to upload?
| From: | raditha dissanayake | Date: | Sat, 19 Jun 2004 02:12:55 +0000 |
| Subject: | Re: Can I detect size of files which are too large to upload? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188623@lists.php.net to get a copy of this message | ||
Red Wingate wrote:
Right, guess i saw some kind of JS that determined the size of the selected file and wrote it into an hidden field. Maybe you try it that way.But i know the perfect product that can do exactly what you want. Rad Upload (http://www.radinks.com/upload/) -- Raditha Dissanayake. --------------------------------------------- http://www.raditha.com/megaupload/upload.php Sneak past the PHP file upload limits.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.As marek has pointed out JS cannot do that. SHAMELESS PLUG FOLLOWS: