I have a developed a application that allows users to draw simple images on a canvas. The name of the movieclip(canvas) is canvas_mc.
I need to save this drawing on the server using php. I have to convert the movieclip (canvas_mc) into png and jpeg and save it. I have successfully save it on local drive using some classes available in
http://www.flashandmath.com/advanced/smoothdraw/index.html
How can I save it on server using PHP. I have been asked to use the post method. If possible give me the code also as I just moved into programming from design 🙂
Not sure about how to convert your image into data and such, but here’s a class I have lying around that you can use to transfer data to a PHP script (which can from there insert the data into a database).
Use: