SETUP:
Windows XP Pro
Apache 2.0.45
PHP 4.3.2
MySQL 4.0.1
I'm having problems uploading to mapped drives from my server. I can upload to directory on my localhost, I cannot upload to a mapped drive on another machine in my network. Here is an example:
Working:
if( move_uploaded_file($_FILES["$temp"]['tmp_name'], "uploads/".$_FILES["$temp"]['name']) )
$msg = "Upload Successful";
else $msg = "Error";
Not Working:
if( move_uploaded_file($_FILES["$temp"]['tmp_name'], "g:\\App\\Processing\\".$_FILES["$temp"]['name']) )
$msg = "Upload Successful";
else $msg = "Error";
I've tried reversing my \ for /. My mapped drive is using an Administrator account to maintain the connection, so file sharing shouldn't be a problem.
Any Suggestions? Thanks in advance!