View Single Post
Old January 22nd, 2005, 09:48 PM   #7 (permalink)
Nautiqeman
Member
Verified Customer
 
Join Date: Oct 2004
Posts: 128
Re: PHP Start Include?

in the PHPSTART I have:
// Example of how to include a seperate file:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();
if (!empty($bbuserinfo['field10']))
{
require_once('./includes/functions_bbcodeparse.php');
$urlinks = parse_bbcode2($bbuserinfo['field11'], 0, 0, 0, 1);
$urlinks = str_replace('<br />', '', $urlinks );
$urlinks = str_replace('</a>', '</a></td></tr>', $urlinks);
$urlinks = str_replace('<a', '<tr><td class="vbmenu_option"><a', $urlinks);
}


and then in the functions_gallery.php in the Construct Navbar I have:
global $vboptions, $vba_options, $vbphrase, $stylevar, $bbuserinfo, $show, $pmbox, $urlinks;
Nautiqeman is offline   Reply With Quote