In mod_form.php (newmodule) is function validation($data, $files). I need information how can I use it in my project.
I have a bash script which is execute and this script must check uploaded file(-s) for example:
$errors = `script.sh`;
Can somebody help me?