I'm trying to get a response.
Using curl_exec
works fine, but the problem is that it gets a response with different IP.
I want to get response from client or user IP, rather than server IP.
$URL = "https://drive.google.com/get_video_info?docid=".$_SERVER["QUERY_STRING"];
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $URL);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 2);
$response_data = urldecode(urldecode(curl_exec($curl)));