njfail
12-13-2010, 10:08 PM
A little while ago, the nice helpful people here on cf told me about
<?php include $_SERVER['DOCUMENT_ROOT'] . '/footer.php'; ?>
And I've used it sparingly, pretty much just for my page header (banner, menu links) and footer.
Some questions I have though, are where should I begin and where should I stop?
Are there any things that won't function correctly if aren't on the actual index.php file?
Could I put the meta tags and things inside a remote php file? Would it cause problems if I even put the <html> opening tag into the remote php file?
Right now my codes a little messy, so I'm trying to 'clean as I go', and keep things organized, so it won't be as hard to go back and tidy things up when I have the spare time :cool:
Are there any down sides to having multiple remote files?
(side column in one, header in one, footer in one)
Or is it better to have all of the data in 1 file?
<?php include $_SERVER['DOCUMENT_ROOT'] . '/footer.php'; ?>
And I've used it sparingly, pretty much just for my page header (banner, menu links) and footer.
Some questions I have though, are where should I begin and where should I stop?
Are there any things that won't function correctly if aren't on the actual index.php file?
Could I put the meta tags and things inside a remote php file? Would it cause problems if I even put the <html> opening tag into the remote php file?
Right now my codes a little messy, so I'm trying to 'clean as I go', and keep things organized, so it won't be as hard to go back and tidy things up when I have the spare time :cool:
Are there any down sides to having multiple remote files?
(side column in one, header in one, footer in one)
Or is it better to have all of the data in 1 file?