I want to be able to take the shared file (for example an image) and then with PHP I can use eighter $_FILES or $_POST to take the data from that file. PS: I already have send.php which sends a POST request to upload.php which takes care of the file and does it's serverside stuff.
manifest.json
I want to be able to take the shared file (for example an image) and then with PHP I can use eighter $_FILES or $_POST to take the data from that file. PS: I already have
send.php
which sends a POST request toupload.php
which takes care of the file and does it's serverside stuff. manifest.jsonAnd uplaod.php (here is just a part of the code that I already have)
$filename = basename($_FILES["fileToUpload"]["name"]);
So I want my servevr to think that the file was selected on
send.php
in a<form>
Just for reference, here is the form fromsend.php
: