Quickform maxfilesize confusion

From: Date: Wed, 19 May 2004 10:45:22 +0000
Subject: Quickform maxfilesize confusion
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12593@lists.php.net to get a copy of this message
Hi, What is the difference between $form->addRule('slides', 'File exceeds MaxFileSize', 'maxfilesize', 1024);
      // max file size
$form->setMaxFileSize(1024); It appears neither are doing any actual validation, just setting the hidden form variable. Or am I missing something here? Thanks, Jeroen

« previous php.pear.general (#12593) next »