Advertisement
Guest User

php pasta

a guest
Sep 26th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. $target_dir = "img/";
  2. $target_file = $target_dir . basename($_FILES["image"]["name"]);
  3. $uploadOk = 1;
  4. $imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement