To transfer data from one website to another, there is two ways which I used.
One is cURL, which is based on PHP
Don't be too confuse both were only simple codes, you don't need to download or install something.
Both were just simple and short codes.
Here is the cURL codes I used, this code should be inside PHP
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://linkhere.com/page.php");
//do a POST METHOD
curl_setopt($ch, CURLOPT_POST, true); //true means your are sending POST else GET
curl_setopt($ch, CURLOPT_POSTFIELDS, "id=33&z=23");//only need wher POST METHOD
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);//true to show data or Saved
$result = curl_exec($ch);