harshitbansal373/PHP-CMS — reverse-engineered prompt

Reverse engineered prompt

Build me a simple PHP based content management system that I can run locally with XAMPP or WAMP and a MySQL database. I want normal users to be able to register, log in, recover their password, browse posts, search, view categories, and use a basic subscriber area. I also want an admin side with a dashboard that shows some useful analytics and lets the admin manage content and users.

Please include separate roles for admin and regular users, make the login and signup flow feel secure, and wire it up so it works with a database import file for setup. The site should have a public homepage, post pages, contact page, category browsing, search, login, registration, forgot password, and reset password pages. The admin account should be easy to test locally.

Keep it straightforward and usable, like a classic CMS with an admin panel and simple styling. If anything is unclear, check the current PHP and local server setup docs online and make it easy for me to run at localhost.

Want more depth? Deep Reverse