plugins - clamav example

This commit is contained in:
florian
2021-06-05 00:29:24 +02:00
parent 388fc1a0e8
commit 8295f6aeba
3 changed files with 68 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<!DOCTYPE html>
<html>
<body>
<?php
if (file_exists($_FILES['myfile']['tmp_name']) && is_uploaded_file($_FILES['myfile']['tmp_name'])) {
echo 'File is clean !';
}
?>
<form action="upload.php" method="post" enctype="multipart/form-data">
Select file to scan :
<input type="file" name="myfile">
<input type="submit" value="Scan file" name="submit">
</form>
</body>
</html>