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() )
{
&DelData($temp_dir);
&xmessage("ERROR: Maximum upload size exceeded");
}
Thanks!