Merhaba curl ile bağlanmak için bir fonksiyon var ama kullanmıyorsunuz.
$icerik = file_get_contents("https://www.xxxxxxxxxxx/index.php?id=6345109");

$icerik = curl("https://www.xxxxxxxxxxx/index.php?id=6345109");
bu şekilde çalışıyor, test ettim.