| Current Path : /hdd/hdd11/www/vlevski/enter/upl/ |
| Current File : /hdd/hdd11/www/vlevski/enter/upl/upload.php |
<?php
if(!empty($_FILES)) {
if(is_uploaded_file($_FILES['userImage']['tmp_name'])) {
$sourcePath = $_FILES['userImage']['tmp_name'];
$targetPath = "upl/".$_FILES['userImage']['name'];
if(move_uploaded_file($sourcePath,$targetPath)) {
}
}
}
?>