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?