RE: [PHP] Site Structure
| From: | Renzi, Sebastian | Date: | Mon, 23 Apr 2001 14:56:11 +0000 |
| Subject: | RE: [PHP] Site Structure | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-49860@lists.php.net to get a copy of this message | ||
try
include('../includes/header.inc');
Sebastián Renzi
Consultoría & Desarrollo de Sistemas.
CODES S.A
> -----Mensaje original-----
> De: Jordan Elver [SMTP:jjelver@worldsites.net]
> Enviado el: lunes 23 de abril de 2001 11:56
> Para: PHP General Mailing List
> Asunto: [PHP] Site Structure
>
> 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
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net