numero = 105296
interpreted = N
texte = Since WebDNA resides on the server it is impossible for WebDNA to know how =large the file is until AFTER it's been uploaded. If you want to prevent l=arge files from being uploaded you must detect the file size on the client =machine -- via Javascript.Sincerely,Kenneth Grome> Hi>=20> I have a form post using enctype=3D"multipart/form-data=B2 that permits f=or a> file upload of a resume/CV. As can be expected, it would be helpful if we> could limit the size of the files that people are attempting to upload, as> the site is pretty busy. In theory a whole bunch of people could all be> trying to upload massive files at the same time, and the darn server may> just keel over.>=20> I=B9m sure that someone must have come up against this before?>=20> Could be a feature request for there to be a max post like PHP... If there> isn=B9t already but I just don=B9t know about it.>=20> While I=B9m here.... Anyone know of a nice form submit disable that works= in> both IE and Firefox? I=B9m using;>=20> >" onSubmit=3D"this.value=3D'P=lease> Wait...'; this.disabled=3Dtrue;" />> Which works in IE but not Firefox.>=20> Previously had;> >"> onSubmit=3D"this.disabled=3Dtrue;return true;" />> Which worked in Firefox but not IE.>=20>=20>=20> Thanks all,> =20>=20>=20>=20>=20
Associated Messages, from the most recent to the oldest:
Since WebDNA resides on the server it is impossible for WebDNA to know how =large the file is until AFTER it's been uploaded. If you want to prevent l=arge files from being uploaded you must detect the file size on the client =machine -- via Javascript.Sincerely,Kenneth Grome> Hi>=20> I have a form post using enctype=3D"multipart/form-data=B2 that permits f=or a> file upload of a resume/CV. As can be expected, it would be helpful if we> could limit the size of the files that people are attempting to upload, as> the site is pretty busy. In theory a whole bunch of people could all be> trying to upload massive files at the same time, and the darn server may> just keel over.>=20> I=B9m sure that someone must have come up against this before?>=20> Could be a feature request for there to be a max post like PHP... If there> isn=B9t already but I just don=B9t know about it.>=20> While I=B9m here.... Anyone know of a nice form submit disable that works= in> both IE and Firefox? I=B9m using;>=20> >" onSubmit=3D"this.value=3D'P=lease> Wait...'; this.disabled=3Dtrue;" />> Which works in IE but not Firefox.>=20> Previously had;> >"> onSubmit=3D"this.disabled=3Dtrue;return true;" />> Which worked in Firefox but not IE.>=20>=20>=20> Thanks all,> =20>=20>=20>=20>=20
Kenneth Grome
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...