<a href="http://www.ru/1/2/3/4">www.ru</a>текст <a href="http://www.google.ru/addurl/">google.ru</a> <a href="http://gituha.ru">gituha.ru</a> <a href="http://www.gituha.ru">www.gituha.ru</a> <noindex><a href="http://www.ru/1/2/3/4" rel="nofollow">www.ru</a></noindex>текст <noindex><a href="http://www.google.ru/addurl/" rel="nofollow">google.ru</a></noindex> <a href="http://gituha.ru">gituha.ru</a> <noindex><a href="http://www.gituha.ru" rel="nofollow">www.gituha.ru</a></noindex> Исходный код: <xmp> <? $page = '<a href="http://www.ru/1/2/3/4">www.ru</a>текст' . "\n"; $page .= '<a href="http://www.google.ru/addurl/">google.ru</a>' . "\n"; $page .= '<a href="http://gituha.ru">gituha.ru</a>' . "\n"; $page .= '<a href="http://www.gituha.ru">www.gituha.ru</a>' . "\n"; echo $page . "\n"; $noselinks_file = 'noselinks.php'; if(file_exists($noselinks_file)) { define('_VALID_MOS', 1); //Притворяемся Джумлой require_once($noselinks_file); // $mosConfig_live_site = 'http://gituha.ru'; //Задать имя сайта. $mosConfig_live_site = 'http://' . getenv('HTTP_HOST'); //имя сайта, то что в заголовке `Host: ...` $tmp->text = $page; plgNoSElinks($tmp, $tmp1, $tmp2); $page = $tmp->text; } echo $page . "\n"; echo "\n\nИсходный код:\n" . file_get_contents(__FILE__); ?>