Rolling your own CMS

So, I checked out this post and followed the tutorial: http://www.elated.com/articles/cms-in-an-afternoon-php-mysql/

The only issue I had was that href links I was putting in the content sections for article submission were getting extra slashes “\” added on every page load.  It took awhile to figure out what was going on, but basically it has to do with having Magic Quotes enabled on your server.  I found this post that explained it and gave test code for checking it which confirmed it.

I added one line to the .htaccess file to disable Magic Quotes and it worked like a charm: php_flag magic_quotes_gpc Off

Also, I installed Codiad which is a programming IDE (compiler/coding environment) and pointed a workspace directory to my CMS web folder using a sym link in Linux.  This allows me to edit my CMS website on the fly and deploy/save immediately.  Great for testing and rapid development.

The CMS I’m working on is at cms.coolrazor.net.