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:

PHP Code:

$target_file $target_dir basename($_FILES["fileToUpload"]["name"]);
$uploadOk 1;
$imageFileType pathinfo($target_file,PATHINFO_EXTENSION);
Read the entire article at the source link…

#codango #developer #development #coder #coding

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.


Leave a Reply

Your email address will not be published. Required fields are marked *