RATTAN DYNAMIC WEBSITE INSTALLATION

1. Upload all files to public_html.
2. Create MySQL database and user in cPanel.
3. Import database.sql in phpMyAdmin.
4. Open config.php and update DB_HOST, DB_NAME, DB_USER, DB_PASS.
5. Ensure uploads/products folder permission is 755 (or 775 if required).
6. Admin URL: yourdomain.com/admin/
   Username: admin
   Password: Admin@123
7. Change the default password after first login by replacing the hash in admins table or add a password-management page.

Frontend:
- products.php: database product listing, search and category filter
- product-details.php?slug=...: dynamic product details

Security included:
- PDO prepared statements
- Password hashing
- Session regeneration
- CSRF protection
- Image extension validation
- Output escaping
