Hi.
I'm trying to take two different screenshots and convert their binary data to base64, save it to variables, and send it via ajax to a php file that converts those base64 values to .jpg images.
I have managed to get those values to be sent from the Construct and received by the php file, but the problem is that only one image is generated correctly (which is the value of the first variable I send) but the second image is generated blank.
Apparently I am sending the values incorrectly, since the php file only gets a single value (the image which is successfully generated)
I hope you can take a look at my code and help me. Thanks in advance
c3p file:
https://www.mediafire.com/file/bhmptydetp048qv/Screenshot.c3p/file
Screenshots:
Code that contains the php file: