Sergio68
10-25-2006, 04:05 PM
I made this page and it's working at this address http://www.vbulletin.it/forums/prova.php
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('GET_EDIT_TEMPLATES', true);
define('THIS_SCRIPT', 'releases');
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();
$actiontemplates = array();
require_once('./global.php');
$navbits = array();
$navbits[''] = 'Home Page';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('homenew') . '");');
?>
If I try to do the same on the root dir http://www.vbulletin.it/prova.php it's not working, can you tell me why ?
<?php
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('GET_EDIT_TEMPLATES', true);
define('THIS_SCRIPT', 'releases');
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();
$actiontemplates = array();
require_once('./global.php');
$navbits = array();
$navbits[''] = 'Home Page';
$navbits = construct_navbits($navbits);
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('homenew') . '");');
?>
If I try to do the same on the root dir http://www.vbulletin.it/prova.php it's not working, can you tell me why ?