Hi Experts,
I need your help. I m making a T-shirt design application in Flash.In this application users can drag n drop designs on their T-shrit,change its colour and add text...etc...and when he press a button...say "Print"...the swf shud generate a jpg(or PNG) of that design(that the user made) and send it to a php file(that estimates its rate and all) and saves another copy in my domain(like www.mycompany.com/shirts_made/).
How can i do that??

by searching in google i found this

http://henryjones.us/articles/using-...3-jpeg-encoder

It was of great help!
But the php included in the sample prompts for download only and is not able to save file into server. So i searched again and got this:

http://blog.joa-ebert.com/2006/05/01...file-with-php/

but aint understandin anything! i donno where to put the code!

Please help! URGENT!