I am trying to take a base64 encoded string and return it as an image in php using $_POST. On line one if I use $_POST[\'imgdata\'] it returns erro
$_POST
$_POST[\'imgdata\']
source: documentation.
check out imagecreatefromstring.