我正在尝试使用PHP将文件上传到000webhost,但我遇到目标路径问题。
我使用了这行代码
$target_path = "/public_html" .$filename;
但这不起作用。有人可以帮助我在将文件上传到远程服务器时如何设置目标路径?
000webhost's
uploads
public_html
$target_path="uploads/" . $filename;