Misc Links
Forum Archive
News Archive
File DB
 

Ads
 

Advertisement
Age of Valor - Ultima Online Free Shard
AoS/SE/ML/Custom - advanced code, dedicated staff, peerless bosses, non overpowered customs + much much more
 

Latest Forum Topics
hows this for a tailgate.
Posted by rovingcowboy
on Jun 18 2010, 3:18:22 pm

Google pacman edition LOL
Posted by Triple6_wild
on May 29 2010, 2:45:11 am

I feel like buying an ipad
Posted by Triple6_wild
on May 29 2010, 2:54:24 am

New Anti-Plagiarism Law Plagiarized from Wikipedia
Posted by rovingcowboy
on Jul 24 2010, 3:09:20 am

connetion to web over lan???
Posted by rovingcowboy
on May 10 2010, 8:12:33 pm

 



Send spam to: website@xeonlive.com nick@xeonlive.com georgiapeach1241@aol.com
Creating your own content management system with php
Better control of site content and access
By Red Squirrel


First, before I start, just to let you know that the example we will be working with can be downloaded here (self extractor), and you can view an actual working version of it here.

There are various CMS systems available out there, such as phpnuke, IPB portal, VB portal and so on. Sure they are great, but they have a few problems.

1) Not original
It's not really original to just slap a script on, make a few changes and boom, you have your very own site...that someone else coded. It's always more fun to put some work into your site and get a unique result out of fully custom code.

2) They have security flaws
Allot of these portals are known to have security flaws. PHP Nuke for example has quite a few, and so does vB Portal, and while I never heard of any for IPB portal, I'm sure it has some too.

3) Most likely to have known security flaws
Having security flaws is one thing, and not as dangerous as having known security flaws. Basically, anything can have a security flaw. Heck maybe this article system has one that enables people to give it GET queries to execute code on the server (I highly doubt, don't bother trying) but it's not as dangerous as a known flaw in say, PHP Nuke. Because these systems are used by many people, and available to download by anyone, security flaws are more known, and can easily be found and targeted.

By making your own CMS system, you will minimize the chances of having security flaws (it will most likely be less complex, as it will be made simply for your very own needs), you will minimize the chances of script kiddies finding flaws, and you will make your site much more original. Script kiddies won't really be able to know how the back end of the site operates, because it's completely your own code, so if there are security flaws they will be nearly impossible to find without putting a bunch of noticeable stuff in your logs that will enable you to catch attempts at trying various things, before they have a chance to find a way in (most likely).

Another good security-related reason to make your own CMS is that you be much more familiar with it's code structure, because you made it.

In this article we'll go through the process of creating a very simple content management system. It will feature the following:

- Certain pages only viewable by registered members
- User can log in and out
- Ease of template editing - header, footer will separate from actual pages

While this will be a very simple CMS, it will give you an idea how you can make one, and add on more features from there, such as different permissions per user, email registration validation etc...

On the next page we'll take a look at the process of loading a CMS page from this basic system.


Next Page
spacer
18271 Hits Pages: [1] [2] [3] [4] 1 Comments
spacer


Latest comments (newest first)
Posted by Andy on October 10th 2004 (07:52)
LOL I was about to say. WOW this guest is smart. Why can't i find someone like that at my site. laugh.gif
spacer
View all comments
Post comment

Age of Valor Ultima Online Server

Top Articles Latest Articles
- What are .bin files for? (587143 reads)
- Big Brother and Ndisuio.sys (142373 reads)
- PSP User's Guide (126655 reads)
- Text searching in linux with grep (111909 reads)
- SPFDisk (Special Fdisk) Partition Manager (99475 reads)
- Dynamic Forum Signatures (version 2) (4297 reads)
- Successfully Hacking your iPhone or iTouch (13908 reads)
- Ultima Online Newbie Guide (24250 reads)
- BBcode editor: PHP - The sensible approach (17510 reads)
- The Hitch Hikers guide to "the mouse" (14975 reads)
corner image

This site best viewed in a W3C standard browser at 800*600 or higher
Site design by Red Squirrel | Contact
© Copyright 2010 Ryan Auclair/IceTeks, All rights reserved