Here you can try this code that I use, but I am not sure weather or not it will help ya...
<?
if (isset($upload))
{
$size = $_FILES['photo']['size'];
$path = "/home/site/public_html/certainFolder/";
$tempname = $_FILES['photo']['tmp_name'];
$filetype = $_FILES['photo']['type'];
$filename1 = $_FILES['photo']['name'];
if ($size < 1000 )
{
$fileSize = $size . "B";
}
elseif (($size < 1000000) && ($size >= 1000))
{
$ksize = $size/1000;
$fileSize = round($ksize,2) . " KB";
}
else{
$megsize=$size/1000000;
$fileSize = round($megsize,2) . "MB";
}
copy($tempname, $path.$filename1) or die("Couldn't copy the file!");
echo $filename1 ." was uploaded and file size was " . $fileSize;
}
else {
?>
<form action="<?$PHP_SELF?>" enctype="multipart/form-data" method="POST" name="form1">
File: <input type="File" name="photo" size="25" maxlength="255"><BR>
<BR><input type="submit" name="upload" value="Upload">
<input type="reset" name="clear" value="Clear">
</form>
<?}?>
Its a little prog. I wrote that also tells you the file size and lets you know if it was B, KB, or MB. Just a little feature I added for something I needed. Make sure to change "$path" to the correct file folder you need it to go.
Hope it helps.