0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.224.73.107


Current Path : /proc/thread-self/root/var/www/html/gcg/adm_useless/
Upload File :
Current File : //proc/thread-self/root/var/www/html/gcg/adm_useless/upload1.php

<?php
$ds          = DIRECTORY_SEPARATOR;  //1
 
$storeFolder = 'upload';   //2
 
if (!empty($_FILES)) {
     
    $tempFile = $_FILES['file']['tmp_name'];          //3             
      
    $targetPath = dirname( __FILE__ ) . $ds. $storeFolder . $ds;  //4
     
    $targetFile =  $targetPath. $_FILES['file']['name'];  //5
 
    move_uploaded_file($tempFile,$targetFile); //6     
}
?>