Add the main admin, dosen, mahasiswa, API, and service code needed to run the core legacy application with configurable upload storage.
10 lines
290 B
PHP
10 lines
290 B
PHP
<?php
|
|
|
|
header("Content-Disposition: attachment; filename=bantuan.pdf");
|
|
header("Content-length: ".filesize("bantuan.pdf"));
|
|
header("Content-type: application/pdf");
|
|
$fp = fopen("bantuan.pdf", 'r');
|
|
$content = fread($fp, filesize("bantuan.pdf"));
|
|
fclose($fp);
|
|
echo $content;
|
|
?>
|