file upload not working on MAMP localhost
I am trying to upload a CSV file, this worked fine on my PC WAMP but on my mac on MAMP it doesn’t it just goes to the upload.php but doesn’t run the code:
$target_dir = "uploads/";
$target_file = $target_dir . basename($_FILES["fileToUpload"]
$uploadOk = 1;
$imageFileType = pathinfo($target_file,PATHINFO_EXTENSION);
Read the entire article at the source link…
We’re happy to share this resource that we found. The content displayed on this page is property of it’s original author and/or their organization.