How gojosaturo00425-sudo/empcert works
This PHP application manages employee accounts and employment certificates. The main workflow is account registration and login, role-based routing, administrative review of employee records, certificate upload or replacement, and client viewing/downloading. Admin listings also support searching and deletion. The code excerpts show direct MySQL queries and local file uploads. Several secondary pages are present in the tree but their behavior is not sufficiently shown to map in detail.
Main entry points: index.php Login · adminaccount.php Admin Certificate List · uploadpage.php Add Certificate Form · uploadpage1.php Update Certificate Form
Components 16
Accounts and Access
- Login
index.php - Self Registration
register.php - Admin Registration
register1.php - Client Account
clientaccount.php
Administration
- Admin Certificate List
adminaccount.php - Missing Certificates
adminaccount_withoutcert.php - Delete Account
delete.php
Certificate Handling
- Add Certificate Form
uploadpage.php - Update Certificate Form
uploadpage1.php - Save Certificate Update
display.php - Save New Certificate
display1.php - Form Field Helper
operation.php
Persistence
- MySQL Connection
connect.php - Project Database
- Uploaded Files
Other components
- Visitor
Connections 23
- Visitor → Login: signs in
index.php - Visitor → Self Registration: registers
- Login → Project Database: checks credentials
index.php - Login → Client Account: routes user
index.php - Login → Admin Certificate List: routes admin
index.php - Self Registration → Project Database: creates records
register.php - Admin Registration → Project Database: creates record
register1.php - Client Account → Project Database: reads certificates
clientaccount.php - Admin Certificate List → Project Database: searches records
adminaccount.php - Admin Certificate List → Add Certificate Form: opens upload
adminaccount.php - Admin Certificate List → Delete Account: submits deletion
adminaccount.php - Missing Certificates → Project Database: searches records
adminaccount_withoutcert.php - Missing Certificates → Update Certificate Form: opens update
adminaccount_withoutcert.php - Add Certificate Form → Form Field Helper: renders fields
uploadpage.php - Add Certificate Form → Save Certificate Update: submits form
uploadpage.php - Update Certificate Form → Form Field Helper: renders fields
uploadpage1.php - Update Certificate Form → Save New Certificate: submits form
uploadpage1.php - Save Certificate Update → Project Database: updates certificate
display.php - Save Certificate Update → Uploaded Files: stores file
display.php - Save New Certificate → Project Database: inserts certificate
display1.php - Save New Certificate → Uploaded Files: stores file
display1.php - MySQL Connection → Project Database: connects to
connect.php - Delete Account → Project Database: uses connection
delete.php