quote:
int imagecopy ( resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h)
Copy a part of src_im onto dst_im starting at the x,y coordinates src_x, src_y with a width of src_w and a height of src_h. The portion defined will be copied onto the x,y coordinates, dst_x and dst_y.
imagecopy copies a block (or region, or rectangle) of an image into another one. It takes 8 parameters:
The two first ones are the destination and source images, respectively.
The last four parameters represent the part of the original image that will be copied. They are the coordinates of the upper left pixel of the rectangle (src_x and src_y) and the width and heigh of the rectangle (src_w and src_h).
The other 2 parameters are dst_x and dst_y, and they represent where the rectangle is going to be placed in in the destination image. They're also the upper left pixel.
If you don't understand that, just ask; but in that case I'd suggest you to begin with easier things in PHP