I am fairly new to php file uploads. but at this moment i am just trying to make a simple upload script that will throw a file into a directory. i don’t care what the file is as long as its in the directory.
The form itself works fine. Just the upload doesn’t happen.
here is my html form code:
here is my php code that handles the upload:
// Where the file is going to be placed
$target_path = “uploads/”;
/* Add the original filename to our target path.
Result is “uploads/filename.extension” */
$target_path = $target_path . basename( $_FILES[‘uploadedfile’][‘name’]);
Any help would be greatly appreciated! Thanks!!!