Ok, so I haven't been able to find an answer to this question anywhere, which probably means it isn't possible. I come to the community to find out once and for all if what I want is a reality.
I would like to get php to echo out the cpanel user name so that in a config.php file, I would not have to manually change the username on a new site, or if I moved servers.
Much in the way the php could echo the current year, should it be possible to have an echo on the user name.
If I had this for example:
Cpanel path: home/userx/public_html
Than
<php echo "cpanelusername" ?>
I am aware there is more than echo username, however, my demonstration is only for the purpose of describing what I want.
Is there a way to do such a thing?