webwiz
07-26-2005, 07:15 PM
Hi,
I got phpinclude working as I want to add a special advertising contact form to my site... I entered this:
ob_start();
include('adform.php');
$adform = ob_get_contents();
ob_end_clean();
And it worked... But I have 3 other php files I need to call on seperate pages...
So the question is how can we add more than 1 include in the phpiclude template?
Also, I notice the index called the include file even though the variable isn't on index.php... Does the software automatically open all pages on the phpinclude template even though the variable isn't on those pages??
This seems like it would be major lag on the server...
WW
I got phpinclude working as I want to add a special advertising contact form to my site... I entered this:
ob_start();
include('adform.php');
$adform = ob_get_contents();
ob_end_clean();
And it worked... But I have 3 other php files I need to call on seperate pages...
So the question is how can we add more than 1 include in the phpiclude template?
Also, I notice the index called the include file even though the variable isn't on index.php... Does the software automatically open all pages on the phpinclude template even though the variable isn't on those pages??
This seems like it would be major lag on the server...
WW