I tried using the API 22 and 19 and does not work in any way, my phone has Android 6.1 but I also tried it with Android 5 and the result is the same, I attach here my test file (just try to give curl command on any smartphone with Android 5 and above, curl returns the error PIE), I'm going crazy looking for a solution since yesterday, I need for an important job and do not know how else to do (any way to move the photo taken the server would be fine). Of course I tried the sample files to curl but the outcome is the same:
Screenshot_20160519-144524[1].jpg
I attach to the post even the multimedia fusion file that I am trying:
curl_app.mfa.
Php code that I used for testing (with curl command line works well) is this:
PHP Code:
<?php
if(isset($_POST['mmf'])) {
$txt = $_POST['mmf'] . "\n";
echo $txt;
} else {
$txt = "No POST DATA!!!\n";
echo $txt;
}
?>