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
Post a Comment