Changeset 25 for types/File/FileDownload.php
- Timestamp:
- Nov 20, 2008, 12:19:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
types/File/FileDownload.php
r21 r25 18 18 Header('Content-Type: '.DetectMimeType($DbRow['Name'])); 19 19 Header('Content-Disposition: attachment; filename="'.$DbRow['Name'].'"'); 20 echo( $DbRow['Content']);20 echo(file_get_contents($Config['UploadFileFolder'].'/'.$DbRow['Id'])); 21 21 } else echo('Soubor nenalezen!'); 22 22
Note:
See TracChangeset
for help on using the changeset viewer.