Forum
Subscribe


Structuring Your Pages

  1. When creating new pages, Just create a html file like usual, create the page and save it.
  2. When you are done, you need to rename the file's extension from .html / .htm to .php
  3. Next step: Edit the file by removing the html coding: (ALL the info shown below in italics is included in your header & footer files, so you DO NOT need to add it to your .php pages.).
    <html><br>
    <head><br>
    <title>name of page</title><br>
    <meta name="keywords" content=""><br>
    <meta name="Description" content=""><br>
    <meta name="ROBOTS" content=""><br>
    <meta name="distribution" content="l"><br>
    </head><br>
    <body bgcolor="#FFFFFF" text="#000000"><br>
    </body><br>
    </html>
  4. Next, you place these two codes at the very top of the page:
    <? include("setup.php");?><br>
    <? include("header.php");?>
  5. OR If the page requires someone to log in [Like the enter.php page does] then you would place these three codes at the top of the page instead of the just the two above:
    <? include("setup.php");?><br>
    <? login();?><br>
    <? include("header.php");?>
  6. Final step: At the very bottom of the page you will place this code:
    <? include("footer.php");?>

This is what the coding of your new page would like for a public page.
<? include("setup.php");?><br>
<? include("header.php");?>
<br>
Your html here Your html here Your html here Your html here Your html here

Your html here Your html here Your html here Your html here Your html here

Your html here Your html here Your html here Your html here Your html here

<? include("footer.php");?>

« 1 2View All»