RE: [PHP] Site Structure

From: Date: Mon, 23 Apr 2001 15:01:58 +0000
Subject: RE: [PHP] Site Structure
Groups: php.general 
Request: Send a blank email to php-general+get-49861@lists.php.net to get a copy of this message
Or better yet: include( "$DOCUMENT_ROOT/includes/header.inc" ); Martin Gottlieb -----Original Message----- From: Renzi, Sebastian [mailto:srenzi@codes.com.ar] Sent: Monday, April 23, 2001 10:56 AM To: 'Jordan Elver'; PHP General Mailing List Subject: RE: [PHP] Site Structure 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 -- 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

« previous php.general (#49861) next »