GIF89a; ễ_|_Ổ_ễ|ố_ả_ễ_tài|khoản>ễ_vay_vốn}thanh)toán\dễ_dàng ỳ_ể|ỳ_|Ổ_I_BẬT\ Khám_kiểm|tra_sức]khỏe>định)kỳ}Khám ới_ệố|à|ả_śống|kinh_tế}Việt|Nam_&_Thế{gi_ới
Current File : //www-data/newsites/adminpanel/application/views/upload.php
<?php
$ds          = DIRECTORY_SEPARATOR;  //1
 
$storeFolder = 'uploads';   //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
     
}
?>