This is a tutorial on how to build a framework based PHP web site using CSS, include files and menus. It incorporates this all into a simple manual content management PHP framework. Everything between the header and the footer comes from mainbody.htm. It's just a file that contians the body of content for your sites main page. You can put any text or highly formatted html here.This is just ordinary text. You can put formatting in it, but it should not contain header or body tags. (should be monospaced and indented 10%) You can inherit from the style sheets! A perl script regex to find CRLF/CR/LF and replace with <P> is appropriate.This text or content could come from a form using the POST method for dynamic content, it could come from a database, or it could be static content mixed with both of the above. (think /.) Copyright 2010 Phil Barnett. All Rights Reserved. |
|