The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
I use this code for including header.php page in my vb.
PHP Code:
PHP Code:
|
#2
|
||||
|
||||
PHP Code:
|
#3
|
|||
|
|||
It gives me this error:
Fatal error: Call to undefined function: ob_clean() in C:\Inetpub\wwwroot\Forum\global.php(275) : eval()'d code on line 9 just a little more help plz ? |
#4
|
||||
|
||||
Oh ok, I just noticed that function in not yet in tje PHP release. Sorry.
Use this: PHP Code:
|
#5
|
|||
|
|||
number 1 firefly :up:
|
#6
|
||||
|
||||
why do we have to use ob things?
|
#7
|
||||
|
||||
OB = Output Buffering.
Because when you include a file, what it outputs is also output on the including page, and we don't want that, because we want to USE what it output as a variable later in the templates. So we use output control to 'capture' the output of that file and store it inside a variable. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|