hi, i need help with opening a image on my server, resizing it and then saving it. I was told by a friend of mine to use the imagecopyresize() function but i couldnt get it to work, because i didnt understand what all the variables it need were.
imagecopyresized ( resource dst_im, resource src_im, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH)
the resource destination and source , i think are variables, that have been previously set, i understand W and H is width and height but whats X and Y?