file_get_contentshttp://softtime.ru/forumfile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524809Попробуйте в начале скрипта поставить это error_reporting(E_ALL); Может тогда станет понятна причина.file_get_contentsTue, 4 Dec 2012 21:28:00 +0300Mookapekfile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524794А у меня не работает..file_get_contentsTue, 4 Dec 2012 01:52:54 +0300OLifile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524785Кстати, с этим сайтом у меня отлично работает file_get_contents и без всяких заголовков: "?php $file = file_get_contents("http://nefteyugansk.khm.slando.ru/transport/legkovye-avtomobili/"); echo $file; ?"file_get_contentsMon, 3 Dec 2012 19:07:05 +0300Mookapekfile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524716Вот что выдало: Ошибка curl: Failure when receiving data from the peerfile_get_contentsSun, 2 Dec 2012 02:00:45 +0300OLifile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524707Попробуйте проверить на наличие ошибки: "?php $curl = curl_init("http://nefteyugansk.khm.slando.ru/transport/legkovye-avtomobili/"); $useragent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1"; curl_setopt($curl, CURLOPT_RETURNTRANSFER,...file_get_contentsSat, 1 Dec 2012 22:45:51 +0300Mookapekfile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524703Ребята - вопрос не решается - нетолкните на мыслиfile_get_contentsSat, 1 Dec 2012 21:27:57 +0300OLifile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524676http://www.google.ru открывает - не открывает только сайт, о котором я писалfile_get_contentsSat, 1 Dec 2012 00:44:38 +0300OLifile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524675Только этот сайт не принимает..file_get_contentsFri, 30 Nov 2012 23:10:34 +0300OLifile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524673Ответ 200 - но страница пустая :(file_get_contentsFri, 30 Nov 2012 22:43:19 +0300OLifile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524672Вот код, который отлично работает у меня: "?php $curl = curl_init("http://nefteyugansk.khm.slando.ru/transport/legkovye-avtomobili/"); $useragent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1";...file_get_contentsFri, 30 Nov 2012 22:39:10 +0300Mookapekfile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524671а у меня опять ничего: $curl = curl_init("http://nefteyugansk.khm.slando.ru/transport/legkovye-avtomobili/"); $useragent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1"; curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);...file_get_contentsFri, 30 Nov 2012 22:37:08 +0300OLifile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524669Странно. Т-е для IE 6 доступ закрыт? ;)file_get_contentsFri, 30 Nov 2012 22:35:54 +0300OLifile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524668У меня тоже сначала ничего не вывело. Потом попробовал поставить MSIE 7.0 и заработало!file_get_contentsFri, 30 Nov 2012 22:33:50 +0300Mookapekfile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524667В общем как и у меня было - ничего не получает по адресу: http://nefteyugansk.khm.slando.ru/transport/legkovye-avtomobili/ Привел ссылку лишь для теста. Попробуйте...file_get_contentsFri, 30 Nov 2012 22:13:09 +0300OLifile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524666В предыдущем случае просто выводится в браузер. Вот вариант с сохранением в переменной. "?php $curl = curl_init("http://......."); $useragent =...file_get_contentsFri, 30 Nov 2012 22:09:30 +0300Mookapekfile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524665А где будет содержимое страницы хранится?file_get_contentsFri, 30 Nov 2012 22:01:39 +0300OLifile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524663"?php $curl = curl_init("http://......."); $useragent = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1"; curl_setopt($curl, CURLOPT_USERAGENT, $useragent); curl_exec($curl); curl_close($curl); ?"file_get_contentsFri, 30 Nov 2012 21:53:14 +0300Mookapekfile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524662да - указал Chrome Могли бы вы привести работающий пример для сравнения с тем, что написал я?file_get_contentsFri, 30 Nov 2012 21:24:20 +0300OLifile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524650Пользовательского агента сфальсифицировали?file_get_contentsFri, 30 Nov 2012 16:30:00 +0300Mookapekfile_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=88231#post524649Пробовал через CURL - такая же реакцияfile_get_contentsFri, 30 Nov 2012 15:17:35 +0300OLi