Okay, first of all, is the server generating these images or are you generating them on your computer?
If the PHP is generating these images using GD (or imagemagick), then collected the output of the image, open a new file, write this content to it, and save it wherever you like.
If you are generating these images on your computer and want to upload them, use a form to upload your images to the server and have the PHP copy this uploaded file to whatever directory you wish to save on the server.
Let me know where the dynamic images are and where you want to save them and I can help you with some examples.
-sridhar