Include statement
Posted: Sat Jun 21, 2008 5:48 am
Hello, i have some problems with include statement.
I will show a graphic
*Root
--Home
---Folder
---Folder2
--Forum
---Folder1
---Folder2
In Home i have an index file and i want to include something from Forum Folder
I use
But this work only for subfolders, how can i include something from upper folders?
Thank You!
I will show a graphic
*Root
--Home
---Folder
---Folder2
--Forum
---Folder1
---Folder2
In Home i have an index file and i want to include something from Forum Folder
I use
Code: Select all
<?php
include ('folder/file.php');
?>Thank You!