How hanaryadn/cek-resi-spx works
This is a small Shopee Express tracking lookup application. A user submits a tracking number to the PHP page, which queries Shopee Express and renders shipment details and tracking events. A separate PHP endpoint exposes a JSON-style lookup. The source excerpts show both request paths; the small JavaScript file is not connected to the page (its script tag is commented out), so it is omitted.
Main entry points: index.php Page lookup · spx.php JSON endpoint
Components 6
Web lookup
- Tracking form
index.php - Page lookup
index.php - Tracking result
index.php
Tracking access
- JSON endpoint
spx.php - Shopee Express API
Other components
- User
Connections 8
- User → Tracking form: enters number
index.php - Tracking form → Page lookup: submits POST
index.php - Page lookup → Shopee Express API: queries tracking
index.php - Shopee Express API → Page lookup: returns JSON
index.php - Page lookup → Tracking result: renders details
index.php - User → JSON endpoint: requests lookup
spx.php - JSON endpoint → Shopee Express API: queries tracking
spx.php - Shopee Express API → JSON endpoint: returns JSON
spx.php