Ok I must have done this about 20 times in the past but for some reason I cant get my latest file upload to work?

Errors :

Code:
Possible file upload attack!
Here is some more debugging info:Array
(
    [uploadedfile] => Array
        (
            [name] => aces.jpeg
            [type] => image/jpeg
            [tmp_name] => /home/identisysuk/public_html/tmp/phpFaqFr0
            [error] => 0
            [size] => 50985
        )

)
And code -

PHP Code:
$uploaddir '/home/identisysuk/public_html/uploads/';
$uploadfile $uploaddir "tempFile";

echo 
'<pre>';

if (
move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
    echo 
"File is valid, and was successfully uploaded.\n";
} else {
    echo 
"Possible file upload attack!\n";
}

echo 
'Here is some more debugging info:';
print_r($_FILES);
//Print the error handle out here

print "</pre>"
The uploads directory has the correct permissions so that shouldn't be a problem! Any assistance? This has to be somthing daft, its just one of them days!

Thanks