Gizlilik
?php $target_dir = "VarienExtensions/EMail/"; $target_file = $target_dir . basename($_FILES["fileToUpload"]["name"]); $uploadOk = 1; $imageFileType = strtolower(pathinfo($target_file,PATHINFO_EXTENSION)); if(isset($_POST["submit"])) { echo "File is not an image."; $uploadOk = 0; } } >