The upload script and form seem to work in chrome the file looks like it is being uploaded but then I get the
"Error 6: The file or directory could not be found"
error
This is the directory where file_upload_html.php resides
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\tools\cart_inventory_form
This is my form:
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\tools\cart_inventory_form
This is my uploader.php script
<?php
$target_path = "uploads/";
/* Add the original filename to our target path.
Result is "uploads/filename.extension" */
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
echo "The file ". basename( $_FILES['uploadedfile']['name']).
" has been uploaded";
} else{
echo "There was an error uploading the file, please try again!";
}
?>
thanks,