Hello guys I successfully found a method that claims to make a file input file into a base 64 string in JavaScript so I successfully sent that base 64
string by JSON v
Brad indicated a more efficient way, but following your code I see that you keep the string not the result of base64_decode.
Change
//Photo upload section
$photo=$upload_info_json_object->photo;
base64_decode($photo);
for
//Photo upload section
$photo=$upload_info_json_object->photo;
$photo=base64_decode($photo);