The "create new user" link takes you to the register script, but this time a variable is sent with the link. This variable enables a new row called "level" to be shown in the form, as you can see below:
This row enables the admin to register a user as admin. If you register normally, this option is not available.
The "create new thread" link goes to a page called new_post.php. This page is similar to the form on the comments page, but requires that the title and category of the article be specified as below:
I created this page so that the admin can start a new topic or thread. The normal page that the users use to post a new message does not have the title or category sections.
The admin area can of course be improved a lot. With this script I’ve not only touched on the basics, but have also laid the foundation that could lead to a much more robust administration script being developed.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |