I will add a form to the file upload. The file should be uploaded only if the verification on the form is valid.
Where can i insert this verification? I've already tried to insert it in "upload.cgi" after
Code: Select all
my $cg = new CGI;
if( $cg->cgi_error() )
&xmessage("ERROR: Maximum upload size exceeded");
but file is still being uploaded.. The error message appears right after the upload is complete..