Вапрос за един код

Martowe

Registered
Имам 2 кода който трябва да са в началото на страницата но като ги добавя и ми излиза грешка как мога да ги добавя 2та без да ми излиза грешка...единия код е за посдните теми от форум пхпбб3//


Код:
<?php
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
?>
Код:
<?php
$m_time = explode(" ",microtime()); 
$m_time = $m_time[0] + $m_time[1]; 
$starttime = $m_time;
//error_reporting(0);
session_start();
ob_start();
DEFINE('human',true);
include('includes/functions.php');
include('includes/config.php');
include('includes/mysql.class.php');
$db=new Mysql($dbhost,$dbuser,$dbpasswd,$dbname);
?>

2та трябва да са в началото на страницата единия го изкарвам така

<? include "top.php" ?> тоя за последните теми
 
<?php

session_start();

$m_time = explode(" ",microtime());
$m_time = $m_time[0] + $m_time[1];
$starttime = $m_time;
//error_reporting(0);
ob_start();
DEFINE('human',true);
include('includes/functions.php');
include('includes/config.php');
include('includes/mysql.class.php');
$db=new Mysql($dbhost,$dbuser,$dbpasswd,$dbname);
?>
;)
 
proba каза:
<?php

session_start();

$m_time = explode(" ",microtime());
$m_time = $m_time[0] + $m_time[1];
$starttime = $m_time;
//error_reporting(0);
ob_start();
DEFINE('human',true);
include('includes/functions.php');
include('includes/config.php');
include('includes/mysql.class.php');
$db=new Mysql($dbhost,$dbuser,$dbpasswd,$dbname);
?>
;)

Fatal error: Call to undefined function append_sid() in G:\Program Files\www\index.php on line 79
 

Back
Горе