How daiki0918/myportfolio works
This is a personal portfolio site with a PHP-backed inquiry form. Visitors browse the portfolio and submit an inquiry; the browser validates and posts it to PHP, which validates and rate-limits the request before sending an owner notification and a visitor acknowledgment through Gmail SMTP. The README documents the form’s deployment requirements and behavior. Several frontend features share one JavaScript file; the HTML and PHP excerpts are incomplete, so links not directly shown or documented are omitted.
Main entry points: index.html Portfolio page · contact.php Validate and rate-limit · jscript.js Contact form submit · style.css Site styling
Components 9
Portfolio experience
- Portfolio page
index.html - Interactive features
js/jscript.js - Site styling
css/style.css
Inquiry handling
- Contact form submit
js/jscript.js - Validate and rate-limit
contact.php - Rate-limit session
contact.php
Email delivery
- SMTP mailer
contact.php - Gmail SMTP
Other components
- Visitor
Connections 9
- Visitor → Portfolio page: views
README.md - Visitor → Contact form submit: submits inquiry
js/jscript.js - Contact form submit → Validate and rate-limit: posts JSON
js/jscript.js - Validate and rate-limit → Rate-limit session: checks rate limit
contact.php - Validate and rate-limit → SMTP mailer: sends inquiry
contact.php - SMTP mailer → Gmail SMTP: sends via SMTP
contact.php - SMTP mailer → Visitor: sends acknowledgment
contact.php - Portfolio page → Interactive features: provides interactions
- Portfolio page → Site styling: uses styles