Uldeens Posted May 13, 2004 Report Share Posted May 13, 2004 Man ir lapa INDEX.PHP <include visas padariisanas HEADERUS FOOTEUS NAVBAR UTT> Un HEARDER.PHP <? echo "te ir hederis"; ?> footer.php NAVBAR.php UTT un taa jo projam. PROBLEEMA: Spiezot adresi Http://www.uldis.lv viss gludi, Bet ja raxta http://www.uldis.lv/footer.php vins atver tikai footer lapas dalu?? Kaa izdariit lai footer.php atseviski nevareetu atveert??? Man ir doma vainu footer.php uc inkluudojamiem failiem prieksaa likt <include index.php> vai arii tos failus saglabaat kaa parestu textu.. Link to comment Share on other sites More sharing options...
Aleksejs Posted May 13, 2004 Report Share Posted May 13, 2004 http://php.lv/f/index.php?showtopic=1059&hl=self http://php.lv/f/index.php?showtopic=967&hl=self Link to comment Share on other sites More sharing options...
bubu Posted May 14, 2004 Report Share Posted May 14, 2004 var arii to footer.php noformeet shadi: <?php fuunction displayFooter() { // te tu raadi savu fuuteri } ?> taadeejaadi, ja raksta adresi pa teisno nekas netiks izvadiits, a bet index.php lapaa, tu pashaa saakuma(augshaa) sainkluudo visus headerus/footerus un tad kad vajag izvadiit, tad tikai izsauc to displayFooter(); Link to comment Share on other sites More sharing options...
blackhalt Posted May 14, 2004 Report Share Posted May 14, 2004 index.php augšā: define('SECURITY_ULDEENS',true); footer.php augšā: if(!defined('SECURITY_ULDEENS')){die();} ;) Link to comment Share on other sites More sharing options...
Recommended Posts