Hello @kartik,
If your PHP server allows url fopen wrappers then the simplest way is:
$html = file_get_contents('https://edureka.co/');
If you need more control then you should look at the cURL functions:
$c = curl_init('https://edureka.co/');
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
//curl_setopt(... other options you want...)
$html = curl_exec($c);
if (curl_error($c))
die(curl_error($c));
// Get the status code
$status = curl_getinfo($c, CURLINFO_HTTP_CODE);
curl_close($c);
Hope it helps!!
Thank you!!