Page 1 of 1

Delete 'header' & 'footer' files ?

Posted: Sat Aug 03, 2013 7:10 pm
by ryanlund
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
so trying to figure out how to not have the header and footer files dis-abled into my page, but not getting any luck.
i basically want the entire look and feel placed into my already existing site (as i almost have it) - http://www.musclefire.com/mboard13/mboard.php

...but need header/footer removed PLUS my own 'footerinclude' file is not showing up for some reason, yet my 'header-include' file does show (with logo and links all in it, etc.)

is this possible and how can this be done?
thanks!
r

Re: Delete 'header' & 'footer' files ?

Posted: Sat Aug 03, 2013 7:50 pm
by Klemen
I'm afraid it won't work like that, because your code is breaking PHP sessions (hence all the PHP errors you see on the page) and this will prevent normal script operation.

You will need to paste your code inside the header/footer or use another approach, for example show mboard.php in an <iframe>