First of all, I'm kinda new to web programming and programming in general. HTML/CSS + Javascript are as far as I've gone over the last few years.
Now, for the purpose of my work, I need to learn PHP.
What I'm most interested about is user registration + users' privileges.
My task is to create a web application that is, let's say, a simpler version of a blog. I'd like to know is it possible to build such an application from scratch and add users with different privileges. And, if so, what is the best way to do it? I doubt I'm gonna be using some framework as I intend to learn PHP coding on my own. If you could point me to some useful resources I would be more than grateful :)
Cheers
EDIT: I'll try to be more specific. My goal is not to create a content management system from scratch. I'm interested to know if there is a way to build a blog-like application with user registration and different privileges that are going to be applied on every page.