Hello,
I want to create a custom page that is in the cpanel customer root screen that when clicked will allow me to call an external web service and based on that external call, display a form to the user to fill out and post, which then posts back to the original web service and then displays the results.
I have the php code that will connect to the remote web service but I dont know how to get the cpanel variables to send to the web service:
For example I need to know
- which user they are logged in as
- which domains that user has in their account
I need to know those items before I can make the initial web service call as those items are used to retrieve the initial data set.
TIA
I want to create a custom page that is in the cpanel customer root screen that when clicked will allow me to call an external web service and based on that external call, display a form to the user to fill out and post, which then posts back to the original web service and then displays the results.
I have the php code that will connect to the remote web service but I dont know how to get the cpanel variables to send to the web service:
For example I need to know
- which user they are logged in as
- which domains that user has in their account
I need to know those items before I can make the initial web service call as those items are used to retrieve the initial data set.
TIA