Well i am not much further ahead than you really, being a newbie too. Do you want the images to resize as well or just a straight upload of a image? So anyway here is something that i am working on, what happens here is that when the form is submitted it looks at the image size and depending on its width to height ratio (is it wider than taller?) assigns width and height to the copied image. You can just delete the bit that does this and specify simply $new_w= 360; which is pixels of course. Dont know if this is any help to you but it works fine so thats a good start. Good luck
function do_upload($userfile,$image_name) {
$file = basename($userfile);
$img_data=getimagesize($userfile);
$src_w=$img_data[0];
$src_h=$img_data[1];
$src_img2=ImageCreateFromJPEG($userfile) or die ("Cannot open source");
if ($src_w < $src_h) {
$new_wl = 240;
$new_hl = 360;}
else {
$new_wl = 360;
$new_hl = 240; }
$dst_img2=imagecreate($new_wl,$new_hl);
imagecopyresized($dst_img2,$src_img2, 0, 0, 0, 0, $new_wl, $new_hl, $src_w, $src_h);
chdir("../stock");
if ( file_exists($image_name) )
{
unlink($image_name);
}
imagejpeg($dst_img2,$image_name);
ImageDestroy($src_img2);
ImageDestroy($dst_img2);
}