In PHP I used ftp_put to upload a file.
- How can I get path of file including hosting username, for example: /home/username/public_html/website/file.php
- How can I get url of file, for example: http://example.com/website/file.php
I have searched a lot but can find.
Thank for help!