I want to save the image as a file on the server, and store the name of the image file in database.. How do I do that using php?
or should I just store the image data in the db, using a post request..?
imagedata = canvas.toDataURL("image/png")
can i simply do a post request using imagedata as a variable, or do i have to encode it before. I'm relatively new to web development..
i also want to retrieve the image data from the db..
simply put, all I have is imagedata
how do i go about storing it on a server and retrieving it again later.