PHP загружает файл на веб-сервер из формы. сообщение об ошибке

Я пытаюсь загрузить файл из phpформы. Я проверил целевое местоположение с моим провайдером как «/ home / hulamyxr / public_html / POD /»

При выполнении страницы появляется следующая ошибка:

Warning: move_uploaded_file(/home/hulamyxr/public_html/POD/ 1511.pdf) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/hulamyxr/public_html/hauliers/include/capturelocal2.php on line 124 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpyp3ERS' to '/home/hulamyxr/public_html/POD/ 1511.pdf' in /home/hulamyxr/public_html/hauliers/include/capturelocal2.php on line 124 POD Successfully uploaded for delivery 1511. filename: : 

Мой код формы

 <form enctype="multipart/form-data" method="post" action="capturelocal2.php"> <input type=file size=6 name=ref1pod id=ref1pod> </form> 

Мой PHP-код для загрузки файла

 $ref1 = $_POST[ref1]; //this is the name I want the file to be $ref1pod = $_POST[ref1pod]; // this is the name of the input field in the form move_uploaded_file($_FILES["ref1pod"]["tmp_name"], "/home/hulamyxr/public_html/POD/ " . ($ref1.".pdf")); 

Любая помощь будет высоко оценена. Спасибо и с уважением, Райан Смит

Solutions Collecting From Web of "PHP загружает файл на веб-сервер из формы. сообщение об ошибке"