Hmmm... now it's giving me this error.
Fatal error: Call to undefined function: move_uploaded_files() in /home/httpd/vhosts...
I'm getting the error on the (move_uploaded) line...
Here's what I currently have... ANY HELP IS GREATLY APPRECIATED.
<?php
$uploaddir = '/home/httpd/vhosts/mysite/httpdocs/' . $category . '/images/';
print "<pre>";
if (move_uploaded_files( $FILES['small']['tmp_name'], $category . $id . 'small.jpg' )) {
print "File is valid, and was successfully uploaded. Here's some more debugging info:\n";
print_r($FILES);
} else {
print "Possible file upload attack! Here's some debugging info:\n";
print_r($_FILES);
}
$small = $_FILES['small']['name'];
?>