всем привет.
проблема такая. дана страничка на php:
<?php
/********************************************************************** *****
* index.php
* -------------------
* begin : Saturday, Feb 13, 2001
* copyright : (C) 2001 The phpBB Group
* email :
support@phpbb.com
*
* $Id: index.php,v 1.99.2.2 2004/03/01 15:56:52 psotfx Exp $
*
*
********************************************************************** *****/
/********************************************************************** *****
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
********************************************************************** *****/
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
$viewcat = ( !empty($HTTP_GET_VARS[POST_CAT_URL]) ) ? $HTTP_GET_VARS[POST_CAT_URL] : -1;
if( isset($HTTP_GET_VARS['mark']) || isset($HTTP_POST_VARS['mark']) )
{
$mark_read = ( isset($HTTP_POST_VARS['mark']) ) ? $HTTP_POST_VARS['mark'] : $HTTP_GET_VARS
bla bla bla - code
//
// Generate the page
//
$template->pparse('body');
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
?>
когда генерируется html-ина, то после всего кода добавляется еще код для реакламы (хостинг lycos.co.uk). если бы файл был написан в html, то чтобы избавится от рекламы нужно просто дописать в самом конце:
<noscript><plaintext>
как нужно отредактировать php файл чтобы он сгенерировал html страничку со вставленым <noscript><plaintext> ?
thanks