try 


include('../includes/header.inc');



Sebastián Renzi
Consultoría & Desarrollo de Sistemas.
CODES S.A



> -----Mensaje original-----
> De:   Jordan Elver [SMTP:[EMAIL PROTECTED]]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to