Jump to content

[SOLVED] "inlcude" files


ohdang888

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.