Answer the question
In order to leave comments, you need to log in
Why is php_upload empty in OpenServer?
Hello, uploading a file to the local server, here is the $_FILES output:
array(1) { ["userfile"]=> array(5) { ["name"]=> string(57) "Роль государства в экономике.doc" ["type"]=> string(24) "application/octet-stream" ["tmp_name"]=> string(56) "D:\OpenServer\OpenServer\userdata\php_upload\php63E1.tmp" ["error"]=> int(0) ["size"]=> int(50688) } }
Warning: move_uploaded_file(/resources/upload_files): failed to open stream: No such file or directory in D:\OpenServer\OpenServer\domains\parse.your.test\app\web.php on line 8
Warning: move_uploaded_file(): Unable to move 'D:\OpenServer\OpenServer\userdata\php_upload\phpCB2.tmp' to '/resources/upload_files' in D:\OpenServer\OpenServer\domains\parse.your.test\app\web.php on line 8
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question