Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $target_dir = "img/";
- $target_file = $target_dir . basename($_FILES["image"]["name"]);
- $uploadOk = 1;
- $imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement