/ Published in: PHP

Just a simple piece of code to store an uploaded file in PHP.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$target_path = "uploads/"; } else{ echo "There was an error uploading the file, please try again!"; }
Comments
