ohdang888 Posted December 19, 2007 Share Posted December 19, 2007 hey. i am using include files a lot. but to save space, i don't want to include the same include files in every folder, (such as menu and footer) so how to i command the php to look back one folder for example <?php include("footer.php"); ?> how would you say "that file is one folder back" i tried <?php include("*\footer.php"); ?>, but thats not working Link to comment https://forums.phpfreaks.com/topic/82248-solved-inlcude-files/ Share on other sites More sharing options...
kjtocool Posted December 19, 2007 Share Posted December 19, 2007 <?php include ("../footer.php"); ?> Link to comment https://forums.phpfreaks.com/topic/82248-solved-inlcude-files/#findComment-418053 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.