Updated for contact sendmail
This commit is contained in:
parent
be9da9fe86
commit
4e39aace37
1 changed files with 16 additions and 1 deletions
17
README.md
17
README.md
|
|
@ -59,7 +59,7 @@ Features:
|
|||
|
||||
- Dark cinematic MVLog theme
|
||||
- Sticky compact header
|
||||
- RSS icon in the header
|
||||
- Compact stacked header actions: notifications, RSS, contact
|
||||
- One video per row
|
||||
- Metadata display:
|
||||
- title
|
||||
|
|
@ -72,6 +72,21 @@ Features:
|
|||
- right-click disabled on videos
|
||||
- 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
|
||||
|
||||
`feed.php` exposes an RSS feed of recent videos:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue