README - M3U Universal Player
Files:
- index.php    : main UI page. Upload or provide URL/local path to .m3u
- proxy.php    : streaming proxy with CORS headers. Use via proxy.php?url=<remote>
- uploads/     : uploaded playlists are stored here
- sample.m3u   : example playlist (contains public HLS test streams)

Instructions:
1. Put the folder on a PHP-enabled server (Apache, Nginx+PHP-FPM, etc).
2. Open index.php in your browser.
3. Upload a .m3u file, or provide a local path on the server, or paste an URL to the playlist.
4. If streams don't play due to CORS or certificate issues, use the proxy toggle (Proxy: on).
   With proxy on, the player will request streams through proxy.php which sets Access-Control-Allow-Origin: *.
5. For best results, ensure your server has enough bandwidth for proxying streams.

Security notes:
- proxy.php is a simple open proxy. In production you should:
  - Add a whitelist of allowed hostnames.
  - Add authentication to prevent abuse.
  - Add rate-limiting/logging.
