Changeset 8618 for temp/trunk
- Timestamp:
- 2006/11/19 20:42:54 (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
r8617 r8618 18 18 * ÀâÌÀ¡¡¡§¥Õ¥¡¥¤¥ëÆÉ¹þ 19 19 */ 20 /*21 function lfReadFile($file) {22 $fp = fopen($file, "r");23 $read_file = fpassthru($fp);24 fclose($fp);25 }26 */27 20 function lfReadFile($filename) { 28 21 $str = ""; -
temp/trunk/html/test/uehara/tree.php
r8616 r8618 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 Header("Content-type: application/octet-stream; name=".basename($_POST['select_file'])); 53 Header("Cache-Control: "); 54 Header("Pragma: "); 52 55 } 53 56 }
Note: See TracChangeset
for help on using the changeset viewer.
