使用PHP上传文件中的目标问题

I am trying to upload files with PHP to 000webhost,but I am facing problems with the destination path.

I used this line of code

 $target_path = "/public_html" .$filename;

But thid does not work.Can someone help me how to set the destination path when uploading file to remote server?

  1. enter 000webhost's' File Manager.
  2. create folder uploads under public_html.
  3. set your code like the follower: $target_path="uploads/" . $filename;