Re: What does MAX_FILE_SIZE do?
| From: | Raditha Dissanayake | Date: | Sat, 10 Apr 2004 00:59:01 +0000 |
| Subject: | Re: What does MAX_FILE_SIZE do? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183044@lists.php.net to get a copy of this message | ||
Richard Davey wrote:
Hello Ben, Friday, April 9, 2004, 3:36:04 AM, you wrote: BR> Well, is there actually a way to do this or a way to check the filesize BR> and send a nice message to the user that the file is over the BR> limit--other than just some error being thrown? Not until it gets to the server, no. JavaScript can't read local filesystem files, Java I believe can - but you can't rely on people having it installed (I don't for example), even Flash has no local file access abilities (thank goodness). shamless plug: http://www.radinks.com/upload/ - Rad Upload can impose file size limitations before a single byte is transfered. Yes it's java - but you can have your web page in such a way so that the java plug in auto installs for people who do not have it.-- Raditha Dissanayake. --------------------------------------------- http://www.radinks.com/print/upload.php SFTP, FTP and HTTP File Upload solutions