Site Structure
| From: | Jordan Elver | Date: | Mon, 23 Apr 2001 14:56:15 +0000 |
| Subject: | Site Structure | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-49859@lists.php.net to get a copy of this message | ||
Hi,
I have a site structure like:
-> root
---> includes
---> admin
---> images
I'm using headers and footers and they are in the includes directory. My
pages in the root directory include the files like:
include('includes/header.inc');
Thats woprks fine, but i want to be able ti use the same headers and footers
in the admin directory but, of course, the paths are going to be wrong.
How can i get around this?
Any ideas,
Jord