Jump to content
php.lv forumi

Image


Blackout

Recommended Posts

negrib strādāt:

$getdir = getcwd();
$uploaddir = ''.$getdir.'/uploads/';
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploaddir . 
$_FILES['userfile']['name'])) {
print "File is valid, and was successfully uploaded.";
} else {
print "There some errors!";
}

raksta:

 

Warning: move_uploaded_file(C:\website\darbi\katalogs/uploads/t.txt) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\website\darbi\katalogs\index.php on line 150

 

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\WINDOWS\TEMP\phpA7.tmp' to 'C:\website\darbi\katalogs/uploads/t.txt' in C:\website\darbi\katalogs\index.php on line 150

There some errors!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...