Отловить ошибку file_get_contentshttp://softtime.ru/forumОтловить ошибку file_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=65843#post383287Дело ваше ;)Отловить ошибку file_get_contentsMon, 15 Jun 2009 13:55:40 +0300mihdanОтловить ошибку file_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=65843#post383280Ух! Как там всё сложно... Нашёл способ попроще: "?php $site = file_get_contents("http://my_site.ru"); if (strlen($site)==0) { #### Тут действие в случае...Отловить ошибку file_get_contentsMon, 15 Jun 2009 13:41:21 +0300blackcementОтловить ошибку file_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=65843#post383258http://dklab.ru/lib/PHP_CodeFilter/Отловить ошибку file_get_contentsMon, 15 Jun 2009 12:00:03 +0300mihdanОтловить ошибку file_get_contentshttp://softtime.ru/forum/read.php?id_forum=1&id_theme=65843#post383210Здравствуйте. Мне необходимо отловить ошибку отсуцтвия сайта в file_get_contents. Например код такой: "?php $site = file_get_contents("http://my_site.ru"); ?" Т.к. такого сайта...Отловить ошибку file_get_contentsMon, 15 Jun 2009 09:00:16 +0300blackcement