username85
02-22-2012, 05:27 PM
Hello,
I'm building a simple php website with include files(using XAMPP right now) and I can't seem to find the correct path for the includes in my subdirectory files. I've tried adding the double period slash but didn't work.
Basically the site is in the htdocs folder like this(' ' are the folders):
'template14'
'css'
'dd'
dda.php
'images'
'includes'
header.include.php
leftnavigation.include.php
footer.include.php
dd.php
index.php
I need to get the header, leftnavigation and footer includes in the
dda.php file which is in the 'dd' file but i don't want to create another includes file. Help.
I'm building a simple php website with include files(using XAMPP right now) and I can't seem to find the correct path for the includes in my subdirectory files. I've tried adding the double period slash but didn't work.
Basically the site is in the htdocs folder like this(' ' are the folders):
'template14'
'css'
'dd'
dda.php
'images'
'includes'
header.include.php
leftnavigation.include.php
footer.include.php
dd.php
index.php
I need to get the header, leftnavigation and footer includes in the
dda.php file which is in the 'dd' file but i don't want to create another includes file. Help.