The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I have the following to create a menu around all my VB pages
// Example of how to include a seperate file: // ob_start(); // require("yourheader.html"); // $header = ob_get_contents(); // ob_end_clean(); ob_start(); require("yourheader.htm"); $header_code = ob_get_contents(); ob_end_clean(); but when I update my yourheader.html file it doesn't update on my page? why is this? if i delete the header file altogether then nothing bad happens. I am thinking that the code from the header file must be stored somewhere the first time it is read. and if i try to create a second file (i.e. yourheader2) and link to that i get this error Warning: Unknown(yourheader1.htm): failed to open stream: No such file or directory in /htdocs/vbforum/global.php(385) : eval()'d code on line 8 Fatal error: (null)(): Failed opening required 'yourheader1.htm' (include_path='.:/usr/local/php4/lib/php') in /htdocs/vbforum/global.php(385) : eval()'d code on line 8 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|