- 79880 LIM HONG YANG
- 79065 CHIN TECK YUNG
- 78855 ANNASTASHA CHANG SEE MAY
- 79260 EE CHEE FAT
- 79027 CHAI CHENG KANG
This project is intended strictly for educational purposes. It is important to note that no tangible costs will be accrued. We wish to emphasize that any potential loss or damage to assets cannot be attributed to our accountability. We advise exercising caution and assuming full responsibility when opting to download and install this software.
This web application must be develop ONLINE, because the belows are implemented:
- PayPal Subscription
- Ask credentials from developer or; use your own client ID & secret
- Chart.js
Click to expand!
- Empty your
xampp/htdocs/
directory and replace it with all the project files
- Open XAMPP
- Click config (Apache)
- Select
Apache (httpd.conf)
- Search for
DocumentRoot
, change the directory to your project folder
You will see this (by default):
DocumentRoot "C:/xampp/htdocs"
<Directory "C:/xampp/htdocs">
Change to:
DocumentRoot "path/to/your/project/folder"
<Directory "path/to/your/project/folder">
- Save it, restart XAMPP and start Apache and MySQL
- Import
id20654951_semicolonix.sql
to database (assuming no error) - Done, try
localhost/index.php
Click to expand!
- Download Composer.exe (v2.5.8 as of 08-Aug-2023) Video Tutorial
- Install as default setting
- Create a
dotenv
folder - Open vsCode terminal,
cd dotenv
- type in
composer require vlucas/phpdotenv
- Will see the package installed:
composer.json
&composer.lock
Click to expand!
- Register ngrok account
- Login ngrok aacount
- Download ngrok (please remember the download directory)
- Run
cmd
cd /absolute/path/to/your/ngrok-v3-stable-windows-amd64
(ngrok.exe should be inside)- type
ngrok
& hit ENTER - check if is correctly install (assuming no error) - Run your XAMPP/WampServer (Start Apache & MySQL)
- Goto ngrok Dashboard to get your AuthToken
- Go back to cmd
- type
ngrok config add-authtoken PUT_YOUR_AuthToken_HERE
& hit ENTER (only need to do this ONCE) - type
ngrok http 80
& hit ENTER (listening port 80, may vary depends on your local server) - You will now see beautiful interface in cmd
- Copy the
Forwarding
link - Paste the link to any browser
- to QUIT/Close tunnel:
Ctrl + C
in cmd
🔁 Repeat Step [4], [5], [11-15]
if you wish to re-open a tunnel
✒️ Note: The link will be expired if you choose to close the tunnel (Ctrl + C
)
✒️ How to update ngrok: ngrok udpate
Click to expand!
- Download the latest fpdf as zip file (v1.85 as of 18-6-2023)
- Extract and put in the project directory
Click to expand!
hashing method : password_hash("YOUR_PASSWORD", PASSWORD_BCRYPT);
verify method : password_verify("YOUR_PASSWORD", $hash);
Role | PWD | |
---|---|---|
ADMIN | [email protected] | 12356 |
----- | ---------------------- | ----------- |
USER | [email protected] | 123 |
USER | [email protected] | 123 |
USER | [email protected] | 123 |
USER | [email protected] | 123 |
USER | [email protected] | alex456@ |
USER | [email protected] | Alicepass |
USER | [email protected] | qwerty789 |
USER | [email protected] | emily123 |
USER | [email protected] | brown123 |
USER | [email protected] | secret456 |
USER | [email protected] | password123 |
USER | [email protected] | laura524 |
USER | [email protected] | mike78900 |
USER | [email protected] | sarah456 |
Click to expand!
- One-time payment/checkout
- Recurring Payment (we use this)
- we use
client URL (cURL)
for transaction -- the NEW & EASY way - we are NOT using
Instant Payment Notification (IPN)
for transaction -- the OG way - PayPal Subscription Guide
- PayPal HTTP response
Ask from developer
project/
├── admin/
├── assets/
│ ├── font/
│ ├── icon/
│ └── image/
├── auth/
├── config/
├── css/
├── dotenv/
│ └── vendor/
├── Error/
├── handlers/
├── includes/
├── js/
├── pages/
├── vendor/
└── index.php
- Reset auto increment using
ALTER TABLE table_name AUTO_INCREMENT = desired_value