is it possible to create and display a picture file from dataURL received by POST? Something like:
$imgstr = $_POST[\"imgdata\"]; //data:image/png;base
You must set correct header before echo.
header( 'Content-Type: image/jpeg' );