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). Just let them upload the file, check the size when it's arrived and say "sorry, you just wasted X minutes of your life uploading that, try again". Gotta be cruel to be kind :) -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php