Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(move_uploaded_file($_FILES['file']['tmp_name'], $target_path)) {
- $message = "The file ". basename( $_FILES['file']['name']).
- " has been uploaded";
- } else{
- $message = "There was an error uploading the file, please try again!";
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement