This project is a simple web application that allows users to submit their health reports (PDF files) along with their details, which are then stored in a MySQL database. The project uses HTML, CSS, JavaScript, PHP, and MySQL.
-
Clone the repository or download the project files.
-
Install a local development environment such as XAMPP or WAMP, which includes PHP and MySQL.
-
Create a new database in MySQL for the project and import the
database.sqlfile provided. -
Place the project files in the web server's root directory or a subdirectory, depending on your server configuration.
-
Update the database connection details in the
insert.phpandfetch.phpfiles with your MySQL credentials. -
Make sure the
uploadsdirectory has write permissions so that the uploaded health reports can be saved.
-
Start the local development environment (e.g., XAMPP or WAMP) and make sure the Apache and MySQL services are running.
-
Open a web browser and navigate to the project URL (e.g.,
http://localhost/health-report-project).
-
The project includes client-side form validation using HTML5 attributes and JavaScript, but it's always recommended to implement server-side validation as well.
-
You can customize the project by modifying the HTML, CSS, JavaScript, and PHP files as per your requirements.
-
Remember to secure the project in a production environment by implementing appropriate security measures, such as input sanitization and user authentication.
-
Feel free to contribute to the project by submitting pull requests or suggesting improvements.