QF file-rules?
| From: | Stephan Wentz | Date: | Tue, 24 Feb 2004 10:24:54 +0000 |
| Subject: | QF file-rules? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-10894@lists.php.net to get a copy of this message | ||
hi all!
just a quick question, wouldn't it be possible to implement the file-rules in javascript? as far as i have seen they are only executed server-side after a submit, or did i do something wrong? (i added them with the 'client' option.
at least maxfilesize, uploadedfile and filename can be implemented in javascript, i have the problem now that a customers server crashes with files bigger 2mb and i want a rule for it, but because it only validates server-side it never reaches the rule after submit of a file bigger than 2 mb...
bye, stephan