I spent a fair amount of time trying to help people on PHP forums such as webdeveloper.com : Sheldon and one thing I see on a regular basis is over complex systems for basic site structures with people who at this stage don’t have enough knowledge of PHP to build a secure structure.
Now don’t get me wrong, their not stupid, and I’m for sure not the greatest !
So, tonight, a sunday evening, nothing on the tele, and less of a social life lately it seams. I have spent 2 hours building a completely dynamic flat file web structure.
I built this for a couple of reasons, I have never built a system using a complete class that I have written from line 1. I have worked with classes, and extended classes, but never started from scratch. It was something to do, and.. It could be helpful to others, and that how I roll, I like to help out.
- Flat file pages
- Small footprint < 12k
- No mySQL/ database needed
- Simple integration
- Customisable template design
- Runs on Apache and IIS Severs
- Supports Apache Mod ReWrite URLs
- Secure againsts including ‘Bad Files’
Installation:
1:Drop it in the directory you wish to run the system.
2:Customise the ‘index.php’ file with your own HTML, making sure you keep the PHP.
3:Open ./includes/simpleSite.inc’, find the function ‘config()’ and check that all of the ‘$config[]‘ array values are correct. They should be 99% dynamic.
This uses a class to construct the functions, so required a late version of PHP 4, but PHP 5 is better If your current web host doesnt offer up to date software contact me via my web design & hosting business Inbox Design
This is offered as is, I am happy to help out with installing and custimizing the design, If you have any bugs or feature requests, just ask
Free Download: SimpleSite (322) -> simpleSitev0.2.zip (Update v0.2)
Free Download: simpleSite (274) -> simpleSitev0.1.zip
Related posts:

One Response to “Building a Completely Dynamic site using text files, PHP and no mySQL.”