Save image on server

hi guys i need to save jpg on the server without open a popup window. pls help me! i am stuck on this :jail :jail: :. i tried both as2 and as3 but both are open a popup window. thanks in advance