Try this:
You'll have to change the "newpath" line to match your own server (usually /home/youraccountusername/public_html/anotherfolder/)
anotherfolder is the folder that you want the imaged uploaded to, and it must be chmod'ed to 777
(only setup to upload jpg files atm though

)
PHP Code:
<?
if($HTTP_POST_VARS['upload'])
{
$userfile = $HTTP_POST_FILES['userfile']['tmp_name'];
$userfile_name = $HTTP_POST_FILES['userfile']['name'];
$userfile_size = $HTTP_POST_FILES['userfile']['size'];
$userfile_type = $HTTP_POST_FILES['userfile']['type'];
if($userfile != "" && $userfile_size != 0 && $userfile_type == "image/jpg" && is_uploaded_file($userfile)) {
$newfile = "/home/pathto/public_html/yourfoldername/".$userfile_name;
copy($userfile, $newfile);
echo "Uploaded";
}
}
?>
<html>
<head>
<title>Image Upload</title>
</head>
<body>
<h1>Upload Image</h1>
<form enctype="multipart/form-data" action="<?=$PHP_SELF?>" method="post">
<input type="hidden" name="MAX_FILE_SIZE" value="200000">
Select Your Image: <input name="userfile" type="file"><br />
<input type="submit" name="upload" value="Upload Image">
</form>
</body>
</html>