- Joined
- May 6, 2016
- Messages
- 120
- Points
- 18
I have a small php application that is installed on websites and on different VPS hostings. I need a fast and reliable way to get the server's hostname that using PHP code to get or some other unique and reliable system identifier. Can you tell me what is the best way to get hostname with PHP? I can check hostname by using these guides from this post https://forumweb.hosting/13227-how-to-change-hostname-for-my-vps.html but I don't know how to deal that with PHP language.