You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just spent several houres trying to figure out there the image sent from JS was.
The image is not in the php://input nor in the $_POST.
Other from that thanks alot for this awersome editor.
Cheers.
Just spent several houres trying to figure out there the image sent from JS was.
The image is not in the php://input nor in the $_POST.
Other from that thanks alot for this awersome editor.
Cheers.
###img itself
$img='data:'.$_FILES['image']['type'].';base64, '.base64_encode(file_get_contents($_FILES['image']['tmp_name']));
###response to JS
$res=[];
$res['success']=1;
$res['file']=[];
$res['file']['url']=$img;
echo json_encode($res);
exit;
The text was updated successfully, but these errors were encountered: