标签: php
我正在尝试将PHP文件上传到000webhost,但是目标路径出现问题。
我使用了这行代码
$target_path = "/public_html" .$filename;
但是这个方法不起作用。有人可以帮助我将文件上传到远程服务器时如何设置目标路径吗?
答案 0 :(得分:0)
000webhost's
uploads
public_html
$target_path="uploads/" . $filename;