Currently have a PHP file in the root directory of a domain. It needs to be manually configured for each domain which entails:
1. the domain name and tld in the format [url removed, login to view]
2. four brief descriptions and titles
3. the user name for cPanel
We have tried a variety of code snippets from other projects but have not been able to get anything to work. For example:
Number 1 should have code that is able to pull the domain name from a command something like but no variation seemed to work.
Number 2 just needs a list of generic titles and descriptions to be pulled from text files. We tried different variations that didn't work like: