Can I get info from cpanel environment when trying to build a plugin?

webguyz

Member
Sep 13, 2011
12
0
51
cPanel Access Level
DataCenter Provider
Trying to create a link that will take a user to an external mail server mangement tool but need to be able to specify which domain the request is coming form

http://my.mymailserver.com/index.php?domain=<cPanel Domain name>

Need to be able to replace <cPanel Domain name> above with the actual domain name for the cpanel user

http://my.mymailserver.com/index.php?domain=acme.com

So when the user clicks on it the receiving server knows which domain admin is logging in.

Thanks!