k0r54
06-25-2007, 06:24 AM
Hi,
When designing a PHP website do you recommend on every page including a header/footer so that you can put the header into one php file and footer in another and then just
<?PHP require(DIR_WS_INCLUDES . "header.php"); ?>
Again the same question for using DIR_WS_INCLUDES for the location of all the includes and so on.
OSCommerce applies this style but want to know if its recommended to use on my site without OSC?
Bit confussed about what to do for my website.
Thanks
k0r54
When designing a PHP website do you recommend on every page including a header/footer so that you can put the header into one php file and footer in another and then just
<?PHP require(DIR_WS_INCLUDES . "header.php"); ?>
Again the same question for using DIR_WS_INCLUDES for the location of all the includes and so on.
OSCommerce applies this style but want to know if its recommended to use on my site without OSC?
Bit confussed about what to do for my website.
Thanks
k0r54