- Timestamp:
- 2006/11/19 20:51:52 (20 years ago)
- Location:
- temp/trunk/html/test/uehara
- Files:
-
- 2 edited
-
file_view.php (modified) (1 diff)
-
tree.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/test/uehara/file_view.php
r8618 r8623 7 7 8 8 require_once("../../require.php"); 9 10 Header("Content-disposition: attachment; filename=".basename($_POST['select_file'])); 11 Header("Content-type: application/octet-stream; name=".basename($_POST['select_file'])); 12 Header("Cache-Control: "); 13 Header("Pragma: "); 9 14 10 15 // ¥Õ¥¡¥¤¥ëÆâÍÆÉ½¼¨ -
temp/trunk/html/test/uehara/tree.php
r8622 r8623 49 49 } else { 50 50 // ¥Õ¥¡¥¤¥ë¤Î¾ì¹ç¤Ï¥À¥¦¥ó¥í¡¼¥É¤µ¤»¤ë 51 Header("Content-disposition: attachment; filename=".basename($_POST['select_file']));51 /*Header("Content-disposition: attachment; filename=".basename($_POST['select_file'])); 52 52 Header("Content-type: application/octet-stream; name=".basename($_POST['select_file'])); 53 53 Header("Cache-Control: "); 54 54 Header("Pragma: "); 55 */ 56 header("Accept-Ranges: none"); 57 header("Content-Disposition: attachment; filename=".$_POST['select_file']); 58 header("Content-Transfer-Encoding: binary"); 59 header("Content-Length: ". strlen($_POST['select_file']) ); 60 header("Content-Type: text/octet-stream"); 55 61 } 56 62 }
Note: See TracChangeset
for help on using the changeset viewer.
