Here is the code I have so far. It resizes the image I upload. It also moves the image to the directory I want it in but it moves the original size. I figure if i get this bit working then I can work on the renaming part last.
<?php
$image_tempname = $_FILES['image']['name'];
$imagedir = "C:\Program Files\Apache Group\Apache2\htdocs\testskatesiteimages\images\";
$imagename = $imagedir . $image_tempname;
// File and new size
$filename = $_FILES['image']['tmp_name'];
//$percent = 0.5;
// Content type
header('Content-type: image/gif');
// Get new sizes
list($width, $height) = getimagesize($filename);
$newwidth = "250";
$newheight = "250";
// Load
$thumb = imagecreatetruecolor($newwidth, $newheight);
$source = imagecreatefromgif($filename);
// Resize
imagecopyresized($thumb, $source, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
// Output
move_uploaded_file($filename, $imagename);
imagejpeg($thumb);
?>