This is a simple web application for creating lost and found posts. Users can submit information about lost or found items, including a name, location, description, contact details, and an optional image.
- Post lost or found items without the need for user registration
- Upload an image along with item details
- View and manage posted items
- HTML
- PHP
- MySQL
-
Clone the repository:
git clone https://github.com/your-username/lost-and-found-website.git
-
Set up your MySQL database by running the provided SQL script.
-
Configure the database connection in
post_handler.php
with your credentials:$servername = "your_server_name"; $username = "your_username"; $password = "your_password"; $dbname = "your_database_name";
-
Create an
uploads
folder in your project directory for storing uploaded images. -
Open the project in a web server environment (e.g., XAMPP, MAMP) or upload it to a hosting provider.
-
Access the application in your web browser.
index.html
: Front-end HTML form for submitting lost and found posts.post_handler.php
: PHP script for handling form submissions and interacting with the database.uploads/
: Folder to store uploaded images.README.md
: Project documentation.
This project is licensed under the MIT License - see the LICENSE file for details.
- This project was created as a learning exercise.
- Feel free to contribute and improve the application!