inquirybot

Gordon College Chatbot Login System

This project is a login and user management system for the Gordon College Chatbot. It includes features like user registration, login, password change, and email verification.

Features

File Structure

Setup

  1. Database:
    • Create a new database in your MySQL server.
    • Import the database.sql file to set up the required tables.
  2. Configuration:
    • Rename config.php.example to config.php.
    • Open config.php and update the database credentials and email settings.
  3. Dependencies:
    • This project uses PHPMailer for sending emails. Make sure you have it installed and configured correctly.

Recent Changes

Running the Project

  1. Start your web server: Make sure you have a web server (e.g., Apache, Nginx) running.
  2. Place the project in your web server’s root directory: Copy the project files to the htdocs or www directory of your web server.
  3. Access the project in your browser: Open your web browser and navigate to http://localhost/your-project-directory.

Testing

To test the password change functionality, you can run the test_change_password.php script from your terminal:

php test_change_password.php

Note: This is a placeholder test file. For a real-world application, you should use a testing framework like PHPUnit to write more comprehensive tests.