header("Cache-Control: no-cache"); $error = ""; $size = 512; if (isset($_REQUEST["datasize"])) { if ($_REQUEST["datasize"] > 0 && $_REQUEST["datasize"] <= 10240) { $size = $_REQUEST["datasize"]; } else { $error = "Choose size between 1 a 10240"; } } ?>