This is a PDF reader website that allows users to upload and view PDF files online. Users can upload their PDF files, and the website displays them for viewing.
- Upload PDF files: Users can choose and upload their PDF files using the file upload feature.
- Display PDF files: The website displays the uploaded PDF files for viewing using an embedded PDF viewer.
To get started with this PDF reader website locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/pdf-reader-website.git
- Set up a web server
- Host the project files on a web server (such as XAMPP, Apache or Nginx) to run the PHP code.
- Import database:
- If your website requires a database, import the provided database schema from the
database.sql
file.
- Configure connection:
- Update the database connection details in the
connection.php
file to match your local environment.
- Launch the website:
- Access the website in your web browser by visiting
http://localhost/pdf-reader-website/index.php
The repository's file structure is organized as follows:
index.php:
The main page of the website where users can upload PDF files.
action.php:
Handles the file upload functionality and saves the PDF files.
display.php:
Displays the uploaded PDF files using an embedded PDF viewer.
style.css:
CSS file for styling the website.
pdf_files/:
Directory to store the uploaded PDF files.
connection.php:
Contains the database connection configuration.
database.sql:
SQL file containing the database schema (if applicable).
- HTML
- CSS
- PHP
- MySQL (or any other database of your choice)
If you have any questions, suggestions, or feedback, please feel free to reach out to us:
Email: [email protected]
I appreciate your support and hope you enjoy using the pdf_reader