mirror of
https://github.com/datajerk/sendalo.git
synced 2024-09-27 20:56:34 +00:00
12 lines
269 B
Smarty
12 lines
269 B
Smarty
<?php
|
|
if (isset($_REQUEST["url"])) {
|
|
$url = $_REQUEST["url"];
|
|
|
|
header('Content-type: application/octet-stream');
|
|
$data = file_get_contents($url, $maxlen=150000);
|
|
file_put_contents("php://output", $data);
|
|
|
|
die();
|
|
}
|
|
?>
|