$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'http://www.rlsnet.ru/tn_alf_letter_1.htm');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
$data = curl_exec($ch);
echo $data;
exit;
I use this code on my windows machine and the page is loaded well with code 200 ok, but if I put this code on my hosting linux, then I get 404 error, what can be the reason of that?