Help please with this error:
Parse error: parse error, unexpected T_STRING in C:\Inetpub\website.com\httpdocs\home\upload1.php on line 29
Line 29 is:
$upload_uri = $folder_directory."C:\Documents and Settings\Input\";
You should escape backslashes properly.
$upload_uri = $folder_directory . "C:\\Documents and Settings\\Input\\";
In particular, the final backslash was escaping the double quote that was supposed to end the string.
Or write the path with forward slashes, i.e.,
$upload_uri = $folder_directory."C:/Documents and Settings/Input/";