Updated for contact sendmail

This commit is contained in:
hbrain 2026-06-01 13:20:47 +02:00
parent be9da9fe86
commit 4e39aace37

View file

@ -59,7 +59,7 @@ Features:
- Dark cinematic MVLog theme - Dark cinematic MVLog theme
- Sticky compact header - Sticky compact header
- RSS icon in the header - Compact stacked header actions: notifications, RSS, contact
- One video per row - One video per row
- Metadata display: - Metadata display:
- title - title
@ -72,6 +72,21 @@ Features:
- right-click disabled on videos - right-click disabled on videos
- Video metadata cached in `cache/videos.json` - Video metadata cached in `cache/videos.json`
### Contact page
`contact.php` provides a simple contact form (name, email, message) with a honeypot field.
Mail recipient config:
```php
// /var/www/html/mvlog/contact.php
$to_email = 'your-real-email@example.com';
```
Replace that with the real recipient address.
The form uses PHP `mail()`, so server mail delivery must be configured (sendmail/postfix/msmtp or equivalent).
### RSS feed ### RSS feed
`feed.php` exposes an RSS feed of recent videos: `feed.php` exposes an RSS feed of recent videos: