Показать сообщение отдельно

  #3  
Старый 07.12.2007, 22:19
Macro
Постоянный
Регистрация: 11.11.2006
Сообщений: 595
Провел на форуме:
1845062

Репутация: 1079


По умолчанию

PHP код:
<?
error_Reporting
(E_ALL & ~E_NOTICE);
$file file_get_contents('http://yandex.ru/index.html'); 
$start '<!DOCTYPE HTML PUBLIC';
$end'-->';
preg_match_all('|' strtok($start,'%|%') . '(.*)' strtok($end,'%|%') . '|sU',$file,$found); 
if(
$found[1][0]) 

echo
$found[1][0]; 
} else echo 
'no'
?>
пашет

Может у тебя allow_url_fopen off?
 
Ответить с цитированием