image
image copied to clipboard
PHP+Apache Server, the image is here: $_FILES
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;
@seeeeebas you just saved me from a v.large headache. Thank you