PHP Projects

News Portal Project in PHP and MySql

Project Name :   Newsportal
Language Used                   :  PHP
Database                              :  My SQL
User Interface Design       :  HTML, AJAX,JQUERY,JAVASCRIPT
Web Browser                      :  Mozilla, Google Chrome, IE8,OPERA
Software                               :    XAMPP / Wamp / Mamp/ Lamp (any one)
Newsportal project divided into two modules

  1. User Module
  2. Admin Module

User module

Any one can read the news and also search for particular news. Reader can leave comments to particular news.

Admin Module

  1. Secure admin login system
  2. Admin dashboard
  3. Category – In this section admin can add/update/delete the category. Admin can also restore deleted category.
  4. Sub- Category – In this section admin can add/update/delete the Sub category. Admin can also restore deleted Sub category.
  5. Post – Admin can add /update / delete news posts. admin can also view deleted news post in trash post section and restore deleted posts.
  6. Pages –  Admin can manage the the contact of about us and contact us page.
  7. Comments –  Admin can approve/ unapprove / delete reader comments.

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 / email : admin/ phpgurukuloficial@gmail.com (use any one)
Password : Test @12345
View Demo —————————————————–

View Demo

Download full SourceCode (Newsportal Project)
Size: 19.8 MB
Version: V 3

Purchase News portal Project Report

Purchase Report in Rs. 249 / $3.5

Recommended Tutorials for you


Related posts

Small CRM in PHP

Anuj Kumar

Directory Management System Using PHP and MySQL

Anuj Kumar

Online Library Management System

Anuj Kumar

College Admission Management System in PHP and MySQL

Sarita Pandey

Hospital Management System In PHP

Anuj Kumar

Hostel Management System

Anuj Kumar

Shopping Portal ProVersion

Anuj Kumar

User Registration & Login and User Management System With admin panel

Anuj Kumar

Blood Bank & Donor Management System

Anuj Kumar

157 comments

herbert March 15, 2019 at 8:55 am

Sir the feature image failed to update or change ,when i want to update new image it fails to update and it brings empty space, can you help please

Reply
herbert March 13, 2019 at 11:27 am

Hy how can i solve this error-
Warning: file_get_contents(http://localhost/chatbull-installer/index.php/visitors/chatbox/chatpanel): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /opt/lampp/htdocs/Newsportal/newsportal/includes/footer.php on line 6

Reply
Anuj Kumar March 13, 2019 at 4:19 pm

This issue already fixed. Please download the latest updated code.

Reply
herbert March 15, 2019 at 8:54 am

Sir the feature image failed to update or change ,when i want to update new image it fails to update and it brings empty space, can you help please

Reply
abulhasem March 6, 2019 at 3:58 pm

Asllahmoalikum i see your demo site. but i cant login ,
i am trying
username / email : admin/ phpgurukuloficial@gmail.com (use any one)
Password : Test @12345
your comment systems don’t have screenshot . if there have show screenshot system i will show you, i need your help please

Reply
Anuj Kumar March 6, 2019 at 4:02 pm

I checked just now Its working fine at my end.
Username is admin and Password is Test@12345

Reply
krithiga March 6, 2019 at 7:25 am

sir, how to clear this error . Warning: file_get_contents(http://localhost/chatbull-installer/index.php/visitors/chatbox/chatpanel): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\AppServ\www\news-portal\newsportal\index.php on line 28

Reply
Anuj Kumar March 6, 2019 at 4:01 pm

This issue is fixed download latest updated code.

Reply
alokdev March 2, 2019 at 10:31 am

Fatal error: Call to undefined function random_bytes() in C:\xampp\htdocs\new\n\newsportal\news-details.php on line 6

Reply
Anuj Kumar March 2, 2019 at 1:46 pm

use latest version of php

Reply
Manit Jaiswar February 16, 2019 at 5:32 pm

while running the script im getting an error

Reply
Anuj Kumar February 16, 2019 at 6:02 pm

Share your error

Reply
Kevin February 9, 2019 at 8:22 pm

Hi what kind of hash is used on databasa table admin user ? I would to create another admin but I don’t know what kind of crypting used ? Thanks for your work

Reply
Anuj Kumar February 10, 2019 at 4:26 pm

Copy the same the password after login you can change

Reply
Haroon Akhtar February 3, 2019 at 7:05 am

sir there is a big problem in this project!
Sometimes When i insert the copy text in the post section it show me an error and sometimes it works fine. Means when i copy text from wordfile and paste it in add post section the it shows me an error and post is not inserted into database but sometimes it works fine. Iam using jpg image but problem is with post description and post title but i don’t know what is the problem please help me ..

Reply
Anuj Kumar February 3, 2019 at 8:33 pm

After posting a news refresh the browser then post another news because in this project csrf is used.

Reply
1 2 3 4

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

This site uses Akismet to reduce spam. Learn how your comment data is processed.