On 2003-11-20, Pace <pace123REMOVETHIShotmail.com> wrote:Fe: Most sites have a template (fe: the header, the menu and the footer).> Hi,
> I've seen websites using address format like:
> I don't know how they work.
> Do they use a template?
> Can anyone point me to a website?
And only the <div id="main"> has a variable content. This content is
added using the include function if the page contains php code, or with
fopen and fread if the content of the page does not need to be pd.
As ?page=5 is rather descriptive i'd advice you to use something as
To avoid problems with cross-site scripting etc, i also advice you make
a table pages(id,virtual_path,real_path) where you keep the mapping of
verum ipsum factum