A community-driven web platform that helps university students report lost items, post found belongings, and reconnect owners with their valuables.
Built as a Web Engineering course project using PHP, MySQL, HTML, CSS, and JavaScript.
- User Registration
- Secure Login System
- Password Hashing
- Session-Based Authentication
- Logout Functionality
- Profile Management
- Profile Picture Upload
- Create Lost/Found Posts
- Upload Item Images
- Browse Community Posts
- View Poster Information
- Contact Information Display
- Edit Own Posts
- Delete Own Posts
- Password Hashing using
password_hash() - Password Verification using
password_verify() - Session-Based Access Control
- Ownership Verification for Editing/Deleting Posts
- HTML5
- CSS3
- JavaScript
- PHP
- MySQL
- XAMPP
Stores user information:
| Field | Description |
|---|---|
| id | User ID |
| name | Full Name |
| Email Address | |
| phone | Contact Number |
| dept | Department |
| password | Hashed Password |
| profile_pic | Profile Image Path |
Stores lost/found item posts:
| Field | Description |
|---|---|
| id | Post ID |
| user_id | Owner of Post |
| title | Item Title |
| description | Item Description |
| category | Item Category |
| location | Last Seen/Found Location |
| image | Item Image |
| status | Lost or Found |
| created_at | Post Creation Time |
One user can create multiple posts.
student_data.id
โ
โผ
lost_found.user_id
The project uses SQL JOIN queries to combine user information with post information.
lost_found/
โ
โโโ index.php
โโโ register.php
โโโ login.php
โโโ logout.php
โโโ dashboard.php
โ
โโโ create_post.php
โโโ posts.php
โโโ my_posts.php
โโโ edit_post.php
โโโ delete_post.php
โ
โโโ edit_profile.php
โโโ db.php
โ
โโโ uploads/
โ โโโ default.png
โ โโโ items/
โ
โโโ style.css
โ
โโโ README.md
git clone https://github.com/Naf66/lost_found.gitPlace the project folder inside:
xampp/htdocs/
Start:
- Apache
- MySQL
Create a database:
lost_foundImport the provided SQL file from db.txt or create the required tables manually.
Update db.php:
$conn = mysqli_connect(
"localhost",
"root",
"",
"lost_found"
);In the main directory create an uploads folder
And also create /uploads/items
Open:
http://localhost/lost_found
This project helped me learn:
- CRUD Operations
- Authentication Systems
- Session Management
- Password Hashing
- Relational Databases
- SQL JOIN Queries
- File Upload Handling
- Dynamic Content Rendering
- User Authorization
- Responsive UI Design
- Search Functionality
- Post Filtering
- Mark Item as Resolved
- Email Notifications
- Admin Dashboard
- Responsive Mobile Design
- Prepared Statements for Improved Security
Md. Mohaimin-ul-Mohsin
Web Engineering Course Project
GitHub: https://github.com/Naf66
This project was developed for educational purposes.



