I wasn't recommending writing a full featured CMS, that would be crazy. Writing an application that grabs a row from a database is not hard and one would have to be _trying_ to make it vulnerable to do so.
They laughed at Einstein. They laughed at the Wright Brothers. But they also laughed at Bozo the Clown. -- Carl Sagan