javascript - decode a data URL in php -


i need decode data url in php .this data url obtained via ajax. have used file reader encoded data url of image.this data url passed php via ajax:

$.ajax({     url: app,     async: false,     type:"post",     data : "file="+strglobalimagedata,     datatype: "jsonp",     contenttype: 'application/x-www-form-urlencoded',     processdata:false,     jsonp: "jsoncallback",     success: function(html){         alert("thank you. in touch you");     },     error: function(){         alert("thank you. in touch you");     } }); 

how this?

$image =$_post['file'] ; 

was looking for? let me know


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -