Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
197 B
1
Indexable
Never
<?php 


$filename = $_FILES['file']['name'];


$location = "upload/".$filename;

if(move_uploaded_file($_FILES['file']['tmp_name'],$location)){
    echo $location;
}else{
    echo 0;
}