|
Hello,
I need to copy the file img.jpg from c:\Test\img.jpg to /var/www/html/Test/img.jpg! I do that like this:
if(move_uploaded_file($_FILES['C:\Test\img.jpg'],'/var/www/html/Test/img.jpg'))
{
print "File is valid, and was successfully uploaded. ";
print "Here's some more debugging info:\n";
print_r($_FILES);
} else {
print "Possible file upload attack! Here's some debugging info:\n";
print_r($_FILES);
}
But do not work! What I'm doing wrong?
|