Brows Files in PHP

Hi, I want to know that, I coded as follows in my PHP file and wanted the file to be saved at c:\resume and at the same time add the file name in the MySql database in field name resume. But the file name is saved as it is in the database and tmp file is not moved to resume folder which I am testing in my localhost.Please tell me what is the problem??Is my coding correct??
include (‘Include_Database.php’);
$xva1=mysql_query(“select * from register”);
$xva=‘’; $xva=mysql_num_rows($xva1);
$uploaddir = ‘C:/resume/’;
$resume_ext = strrchr($_FILES[‘resume’][‘name’], ‘.’);
$uploadfile = $uploaddir . basename($_FILES[‘resume’][‘name’]);
move_uploaded_file($_FILES[‘resume’][‘tmp_name’], $uploadfile);
$filename=$_FILES[‘resume’][‘name’]; ?>

I haven’t done upload scripts, but I would say your upload folder cannot be outside your root.

rguy84 is correct, you cannot upload to anything above website (www). The interesting thing is that if you put a text file in C:/resume/ you can read that file with file_get_contents. You just can’t write or put things there. I forget how but I have this disabled on my server.