I have a php script which gets data from the server A using shell_exec() and then save its results to a variable (I have three variables i.e. $Username, $Status, $IP). Then i display them as needed.
Now i want to send these data to Server B and there i want to display the results of these variables.
I have found some curl script http://www.codingforums.com/archive/index.php/t-160319.html
But i am confused because I am not sure how to do it in a real server , i.e. how to connect to the Server A. In the above line there is nothing mentioned about the connection to ServerB
Also , Will it work on a shared server (which normally uses cPanel).