News Portal Project in PHP and MySql
News Portal Using PHP & MySQL Introduction
News Portal Project using PHP and MySQL is a web based application. It is a dynamic system. It can be maintain and changed easily because it is based on database. It’s contain web pages that are generated in real-time. These pages include Web scripting code, such as PHP. It is fully secured from unauthorized access. In a word In a word it can say that our Online News Portal website is a completely dynamic website.
News Portal Project Requirements
|Project Name||News Portal|
|Web Browser||Mozilla, Google Chrome, IE8, OPERA|
|Software||XAMPP / Wamp / Mamp/ Lamp (anyone)|
|Last Updated||11 November 2021|
Newsportal project divided into three modules
- User Module
- Admin Module
Anyone can read the news and also search for particular news. The reader can leave comments on the particular news.
Secure admin login system
Admin Dashboard: In this section admin can view, listed categories & sub categories, total published news & trashed news.
Sub-admin: In this section, admin can add/edit/delete sub-admin.
Category – In this section admin can add/update/delete the category. Admin can also restore deleted category.
Sub- Category – In this section admin can add/update/delete the Subcategory. Admin can also restore deleted Subcategory.
Post – Admin can add /update / delete news posts. admin can also view deleted news post in trash post section and restore deleted posts.
Pages – Admin can manage the contact of about us and contact us page.
Comments – Admin can approve/ unapproved / delete reader comments.
Sub-Admin and Admin features are the same except Sub-Admin creation. Sub-Admin can’t create the Sub-Admins.
How to run NewsPortal Project
1. Download the zip file
2. Extract the file and copy newsportal folder
3.Paste inside root directory(for xampp xam/htdocs, for wamp wamp/www, for lamp var/www/html)
4. Open phpmyadmin (http://localhost/phpmyadmin)
5. Create a database with name newsportal
6. Import newsportal.sql file(given inside the zip package in sql file folder)
7.Run the script http://localhost/newsportal (frontend)
8. For admin panel http://localhost/newsportal/admin
Credential for admin panel :
username : admin
Password : Test@123
Credential for Sub-admin panel :
username : subadmin
Password : Test@123