crawfd wrote:This is what I have now which logically should work?
Nope, there's a problem: a backslash in a double-quoted string has a special meaning - it's an escape character.
Though "\p" isn't a special sequence, "\t" will insert a tab (which obviously doesn't work well in a file path). If you're going to use backslashes, you need to double them up. The first backslash escapes the second one (cancelling out the special backslash sequence).
Now, if you plan on making your script portable, you might consider doing something like:
$root = str_replace('\\', '/', $_SERVER['DOCUMENT_ROOT']);
move_uploaded_file($_FILES["fileToUpload"]["tmp_name"],
$root."/test/proposals" . $_FILES["fileToUpload"]["name"]);