Misal 1
Misal 1
SUBMITTED BY
NAME ROLL NO
2024 - 2025
1
CERTIFICATE
Submitted by
NAME ROLL NO
PRASAD TUKARAM MISAL C41147
is a bonafide work carried out by her/ him under the supervision of Prof. Pallavi Bhaskare
and it is approved for the partial fulfillment of the requirement of University of Pune as a part
Laboratory Practice IV Lab work syllabus (Fourth year Computer Engineering).
Dr. A. V. Deshpande
Principal,
Smt. Kashibai Navale College of Engineering, Pune
With due respect and gratitude, I take the opportunity to thank those who have
Helped us directly and indirectly. I convey my sincere thanks to Prof. R. H. Borhade HOD
Computer Dept. and Prof. Pallavi Bhaskare for their help in selecting the project topic and
support.
I thank to my project guide Prof. Pallavi Bhaskare for her guidance, timely help,
and valuable suggestions without which this project would not have been possible. Her
direction has always been encouraging as well as inspiring for us. Attempts have been
made to minimize the errors in the report. I would also like to express my appreciation
and thanks to all my friends who knowingly or unknowingly have assisted and
encourage me throughout my hard work.
3
ABSTRACT
The COVID-19 Information Website aims to provide users with accurate and up-to-date
information about the pandemic while enabling them to engage through comments and
personal accounts. The platform will feature a user-friendly interface designed using HTML
and CSS, ensuring accessibility and ease of navigation. Backend functionalities will be
powered by PHP and MySQL, allowing for secure user registration, login, and data
management. Users can submit comments related to various topics on COVID-19, fostering a
community of shared information and support.
4
Index
CHAPTER TITLE PAGE NO
01 Introduction 6
02 Problem Definition 7
03 Project Architecture 8
05 Project description 10
06 Implementation 15
08 Conclusion 22
09 References 23
5
Chapter 1
INTRODUCTION
6
Chapter 2
PROBLEM DEFINITION
7
Chapter 3
PROJECT ARCHITECTURE
8
Chapter 4
SOFTWARE & HARDWARE REQUIREMENT
Software Requirements:
Database:MYSQL 5.x
Software:Xampp
Operating System:Windows,linux
Hardware Requirements:
Hard Disk:10GB
Processor:1GHz
9
Chapter 5
PROJECT DESCRIPTI ON
The COVID-19 Information Website is an interactive web application designed to provide
users with up-to-date information about the COVID-19 pandemic while facilitating
community engagement through user accounts, comments, and a registration system. Built
using HTML, CSS, JavaScript, PHP, and MySQL, the website offers a user-friendly interface
that displays essential data such as infection rates, vaccination updates, and safety guidelines
sourced from reliable health organizations.
Users can register and create accounts, allowing them to participate in discussions and share
their insights through a comment system. This feature promotes a sense of community and
supports the dissemination of accurate information. The back-end, powered by PHP and
MySQL, securely handles user data, including account details and comments, ensuring that
privacy and data integrity are maintained.
With responsive design principles applied using CSS, the website is accessible across various
devices, enabling users to stay informed whether on a desktop, tablet, or smartphone. The
incorporation of JavaScript enhances user interactivity, providing dynamic updates without
needing to refresh the page. Overall, this project aims to educate the public about COVID-19
while fostering an engaged and informed online community.
FEATURES:
1. User Registration and Login
• Registration Form: Users can create an account by filling out a registration form
with fields for username, email, and password.
• Login System: Registered users can log in securely to access personalized features.
2. User Dashboard
• Profile Management: Users can view and edit their profile information, including
updating their password.
• View Comments: Users can see their past comments and manage them.
3. Information Display
1
• Post Comments: Users can leave comments on articles or information pages, fostering
discussion and sharing of experiences.
• Moderation Features: Admins can manage comments, allowing them to edit or
delete inappropriate content.
5. Responsive Design
6. Search Functionality
• Search Bar: Users can easily search for specific topics or articles related to
COVID19, enhancing navigation and accessibility.
7. Admin Panel
• User Management: Admins can view and manage user accounts, including
suspending or deleting accounts if necessary.
• Content Management: Admins can create, edit, or remove articles and resources
to keep the information current and relevant.
8. Database Integration
• MySQL Database: All user data, comments, and article information are securely stored
in a MySQL database, ensuring data integrity and security.
• Data Retrieval: PHP scripts retrieve and display relevant data on the front
end, ensuring a smooth user experience.
1
ADVANTAGES:
1. User Engagement and Community Building
• Personalized Dashboards: Registered users can manage their profiles and see
their contributions, enhancing the overall user experience.
• Search Functionality: Users can easily find specific information, improving
navigation and usability.
5. Responsive Design
• Admin Control: Admins can easily manage users and content, allowing for
timely updates and moderation of discussions.
• Dynamic Content: Articles and resources can be added or updated quickly to
reflect the latest information and guidelines.
1
7. Educational Resource
• Expandable Features: The website can be easily scaled to include new features,
such as forums, webinars, or live Q&A sessions, as the community grows.
• Technological Integration: Future integrations with APIs for real-time data updates or
third-party tools can enhance functionality.
DISADVANTAGES:
1. Data Privacy Concerns
3. Technical Complexity
1
• Low User Participation: If users do not find the content engaging or the community
supportive, participation in comments and discussions may be low.
• Moderation Difficulties: Managing user-generated content can be challenging,
as inappropriate comments may arise, requiring vigilant moderation.
5. Accessibility Issues
• Digital Divide: Not all users may have access to the internet or digital
devices, limiting the reach of the website to certain demographics.
• Usability for Diverse Audiences: Ensuring the website is user-friendly for individuals
with varying levels of tech-savviness and disabilities may require additional design
considerations.
6. Scalability Limitations
1
Chapter 6
Implementation
CREATE DATABASE
covid_testing; USE covid_testing;
php Copy
code <?php
$servername = "localhost";
$username = "root"; // replace with your DB username
$password = ""; // replace with your DB password
$dbname = "covid_testing";
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
1
$name = $_POST['name'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$password = password_hash($_POST['password'], PASSWORD_DEFAULT);
$sql = "INSERT INTO users (name, email, phone, password) VALUES ('$name', '$email',
'$phone', '$password')";
$conn->close();
?>
<!DOCTYPE html>
<html>
<head><title>User Registration</title></head>
<body>
<form method="post">
Name: <input type="text" name="name" required><br>
Email: <input type="email" name="email" required><br>
Phone: <input type="text" name="phone" required><br>
Password: <input type="password" name="password" required><br>
<input type="submit" value="Register">
</form>
</body>
</html>
$servername = "localhost";
$username = "root"; // replace with your DB username
$password = ""; // replace with your DB password
1
$dbname = "covid_testing";
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$user_id = $_SESSION['user_id'];
$test_type = $_POST['test_type'];
$appointment_date = $_POST['appointment_date'];
$conn->close();
?>
<!DOCTYPE html>
<html>
<head><title>Submit Test</title></head>
<body>
<form method="post">
Test Type:
<select name="test_type" required>
<option value="PCR">PCR</option>
<option value="Rapid">Rapid</option>
</select><br>
Appointment Date: <input type="datetime-local" name="appointment_date" required><br>
<input type="submit" value="Submit Test Request">
</form>
</body>
</html>
1
3. Display Test Results (view_results.php)
php Copy
code <?php
session_start();
if (!isset($_SESSION['user_id'])) { header('Location: login.php');
// Redirect to login if not logged in }
$servername = "localhost";
$username = "root"; // replace with your DB username
$password = ""; // replace with your DB password
$dbname = "covid_testing";
$user_id = $_SESSION['user_id'];
$sql = "SELECT * FROM tests WHERE user_id = '$user_id'";
$result = $conn->query($sql);
if ($result->num_rows > 0) {
while($row = $result->fetch_assoc())
{ echo "Test ID: " . $row["id"]. " - Type: " . $row["test_type"]. "
- Result: " .
$row["result"]. " - Appointment: " . $row["appointment_date"]. "<br>";
}
} else { echo "No test results
found.";
}
$conn->close();
?>
<!DOCTYPE html>
<html>
<head><title>Your Test Results</title></head>
<body>
<a href="submit_test.php">Request a new test</a>
</body>
1
</html>
Chapter 7
GUI
• Home page
1
• Admin Dashboard
• Test Details
2
• Testing Dashboard
2
Chapter 8
CONCLUSION
The COVID-19 Information Website, built with HTML, CSS, JavaScript, PHP, and a
MySQL database, serves as a vital platform for disseminating accurate information and
fostering community interaction during the pandemic. By offering features such as user
registration, a comment system, and real-time updates on COVID-19 statistics, the website not
only empowers users with knowledge but also encourages engagement and dialogue. While
there are challenges related to data privacy, maintenance, and user participation, the potential
benefits far outweigh these concerns. With careful management and ongoing updates, the site
can remain a trusted resource for users seeking reliable information and support in navigating
the complexities of the pandemic. Ultimately, this project aims to contribute positively to
public awareness and community resilience during an unprecedented global health crisis.
2
Chapter 9
REFERENCE