Skip to content

Rohan29-De/comsub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Please run it on localhost:8000 or either change the value of BASE_URL variable in src/function.php accordingly

Custom Features Implemented

1. Rate Limiting System

  • A rate limit of 60 seconds per email submission is enforced to prevent spamming.
  • Implemented using a rate_limit.txt file with timestamps for each email.

2. HTML Email Templates

  • All outgoing emails (verification, unsubscription, comic delivery) follow the exact HTML formatting as per requirements.
  • Includes a visible Unsubscribe link in the comic emails.

3. Robust Code Structure

  • Clean separation of logic inside functions.php using modular, reusable functions.
  • Strict adherence to file names and function names — no deviations from the given stubs.

4. WSL-Compatible CRON Setup

  • Developed and tested the entire system on WSL with a fully working setup_cron.sh.
  • Includes manual testing capability via:
    php /mnt/c/Users/user/OneDrive/Desktop/xkcd-Rohan29-De-main/src/cron.php
    

Comprehensive User Flowchart

Subscribe Flow

Subscribe Flow


Cron Job Flow

Cron Job Flow


Unsubscribe Flow

Unsubscribe Flow

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published