<html>
<head>
<meta charset="utf-8">
</head>
<body>
<?php
setlocale(LC_ALL, 'czech');
if ( isset($_REQUEST["DOBA_NAHRAVANI_MIN"])
&& isset($_REQUEST["ZACATEK_NAHRAVANI"])
&& isset($_REQUEST["NAZEV_SOUBORU"])
&& isset($_REQUEST["CISLO_KANALU"]))
{
$DOBA_NAHRAVANI_MIN = intval($_REQUEST["DOBA_NAHRAVANI_MIN"]);
$ZACATEK_NAHRAVANI = date("H:i d.m.y", strtotime(urldecode($_REQUEST["ZACATEK_NAHRAVANI"]))); // 11:35 01.10.14
$URL = htmlspecialchars(urldecode($_REQUEST["NAZEV_SOUBORU"]));
/*$URL = rtrim($URL,
"_.");
$URL =
str_replace(" ", "_", $URL);*/
echo "<p>\$URL=\"$URL\"</p>\n";
$NAZEV_SOUBORU = preg_replace("/[^a-zA-Z0-9áäčďéěëíµňôóöŕřšťúůüýžÁÄČĎÉĚËÍĄŇÓÖÔŘŔŠŤÚŮÜÝŽ
_-]/", "", $URL);
$CISLO_KANALU = intval($_REQUEST["CISLO_KANALU"]);