Ok so i've written a function that will resize an image that is passed to it from a form.
Once it has resized, it returns the image back as an image created using imagecopyresized(). Stored in the varible called $img.
I have a function call
$resizedImage = imgResize($imgFromForm);
Now what do i need to do to store the file in $path. Path being the location where I want to store my images. Assume path has been created already and chomod.
TIA
Jesse