sendalo/sendalo.php.tpl

12 lines
269 B
Smarty
Raw Normal View History

2020-06-16 21:02:53 +00:00
<?php
if (isset($_REQUEST["url"])) {
2020-06-16 21:53:56 +00:00
$url = $_REQUEST["url"];
header('Content-type: application/octet-stream');
$data = file_get_contents($url, $maxlen=150000);
file_put_contents("php://output", $data);
2020-06-16 21:02:53 +00:00
die();
}
?>