Re: Two Sites - One Backend

From: Date: Tue, 06 Jul 2004 17:15:36 +0000
Subject: Re: Two Sites - One Backend
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-189807@lists.php.net to get a copy of this message
Are you using 2 different servers or just one? if only one then how would URL X and URL Y look? Since X and Y will refer to a different file, my suggestion is to change the include('X-header') to inlcude('Y-header') in the Y version. Some more info whould be nice "Shaun" <shaunthornburgh@hotmail.com> wrote in message news:20040706160240.20331.qmail@pb1.pair.com... > Hi, > > I have created an online scheduling system using PHP and MySQL. The site is > uses CSS for the presentation and each page uses a header and footer file so > that only core functionality is contained in each page. I now need to create > another site which runs using the same database and function files but looks > completely different. So the only files I would need to add here are a new > header, footer and CSS file. The new site will allow limited functionality > to the current site. The functionality will be limited by the options > viewable in the menu. > > My question is how can I configure the site such that if URL X is entered > then the relevant header footer and CSS files are loaded and if URL Y is > entered a different header, footer and CSS file is loaded? > > Thanks for your help

« previous php.general (#189807) next »