Apartment Visitor Management System in PHP (with Source Code)

This web-based project is designed to manage apartment visitors efficiently using PHP and MySQL. It’s ideal for students and developers who want to learn real-world system design, with features like check-in/check-out logs and admin controls



Key Features
  • Add and manage apartment units
  • Log visitor arrivals and departures
  • Track visitor history
  • Admin panel with a clean UI (AdminLTE-based)

Technical Details
  • Language: PHP
  • Database: MySQL
  • Frontend: HTML, CSS (Bootstrap), AdminLTE
  • Requirements: PHP 5.6+, XAMPP or similar stack
  • Login: Admin only
How to Install Apartment Visitor Management
Follow these steps to install the project on your local machine:
  1. Install a Local Web Server: Download and install a local web server environment such as AMPPS, XAMPP, or WAMP. This is necessary to run the PHP scripts.
  2. Download and Extract Source Code: Download the project's source code, extract the contents of the compressed archive, and then upload the extracted files and folders to the web server's document root directory (e.g., htdocs in XAMPP, www in WAMP, or Applications/MAMP/htdocs in MAMP).
  3. Create and Import Database:
  • Access phpMyAdmin (usually accessible via a URL like http://localhost/phpmyadmin).
  • Create a new database for the project. Choose a name for your database.
  • Import the apartment-visitor-nb.sql file (located in the DATABASE FILE folder of the project files) into the newly created database. This file contains the database structure and initial data.
    4. Configure Database Connection:
  • Navigate to the includes directory within the project files on your web server.
  • Open the dbconn.php file in a text editor.
  • Locate the lines that define the database connection parameters (usually involving variables like $servername, $username, $password, and $dbname).
  • Update these variables with the correct details for your local database setup (the database name you created in phpMyAdmin, the username and password for your MySQL server – the defaults are often root with an empty password for XAMPP/WAMP).
    5. Access the Project:
  • Open your web browser and go to the project's URL. This will typically be http://localhost/[your_project_folder_name]/, replacing [your_project_folder_name] with the actual name of the folder where you uploaded the project files.
  • You should now be able to access the login page. Use the following administrator credentials to log in:
Admin Login Details:
Username: admin
Password: Password@123

Note: Only for Educational Purpose

Previous Post Next Post