If I want to use my own php website, where do I upload my files using FTP?

If I want to use my own php website, where do I upload my files using FTP? Which folder to put my php codes?

@Setup-wordpress-problem said:
If I want to use my own php website, where do I upload my files using FTP? Which folder to put my php codes?

Put it inside a folder called “htdocs” .
htdocs is like public_html

Thanks. I have uploaded my files to htdocs folder. But I cannot see my website being loaded using my URL.

@Setup-wordpress-problem said:
Thanks. I have uploaded my files to htdocs folder. But I cannot see my website being loaded using my URL.

So what do you see when opening your URL?

@Setup-wordpress-problem said:
Thanks. I have uploaded my files to htdocs folder. But I cannot see my website being loaded using my URL.

May I know your website URL?

I saw my website is loaded. Thank you but there is form submission problem and error page problem.

It have explain it in the cannot-see-my-website-after-uploading-file-via-ftp thread, so as to avoid duplicate.