In my php I'm getting
string(15) "[object Object]"
I'm posting from ajax an array consisting of:
ctx.imageData.push({name : file.name, value : this.result});
this.result is a base64 encoded image, taken from a js file reader.
How can I get the contents of object object in php?
var_dumpit and see what it contains[Object object]is how JavaScript (by default) stringifies an object. Since JavaScript is generating that string, the problem must be on the JavaScript side.